java.lang.AssertionError

expected:<Optional[ http://link.springer.com/content/pdf/10.1186/s13677-015-0042-8.pdf]> but was:<Optional.empty>

Samebug tips1

Check your pattern declaration or check your assert declaration.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3571

  • via GitHub by Siedlerchr
    ,
  • via Stack Overflow by Jessica Manid
    ,
  • Stack trace

    • java.lang.AssertionError: expected:<Optional[ http://link.springer.com/content/pdf/10.1186/s13677-015-0042-8.pdf]> but was:<Optional.empty> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:144)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    AxeloAxelo
    5 times, last one
    jf-astjf-ast
    Once,
    mauritiusmauritius
    Once,
    andyglickandyglick
    Once,
    jstrayerjstrayer
    2 times, last one
    98 more bugmates