Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. MatcherAssert.assertThat() has thrown an AssertionError
    Hamcrest Core
    9
    63
    9
  2. MatcherAssert.assertThat() has thrown an AssertionError
    Hamcrest Core
    38
    296
    15

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.AssertionError: Expected: is <SYNCHRONIZED> but: was <PUBLISHING>
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.jboss.reddeer.eclipse.test.wst.server.ui.view.ServerTest.publish(ServerTest.java:180)

External results for this pattern (10)

  1. Glusk2via GitHub1 month ago
    Expected: "2" but: was "1"
    Show stack trace
  2. vinayvishalvia GitHub1 month ago
    Expected: a string containing "maxBytesPerChar=", "java.lang.Float", "3.0" in order but: was "org.apache.maven.surefire.report.ConsoleOutputCapture$ForwardingPrintStream<2012232625>( isStdout=java.lang.Boolean<754666084>(true) target=org.apache.maven.surefire.booter.ForkingRunListener<88558700>(
    Show stack trace
  3. neomatrix369via GitHub3 months ago
    Expected: <2> but: was <0> Expected :<2> Actual :<0> <Click to see difference>
    Show stack trace
  4. zero45via GitHub3 months ago
    Expected: a string containing "Done." but: was "Already saving namespace."
    Show stack trace
  5. zero45via GitHub3 months ago
    Expected: a string containing "Done." but: was "Already saving namespace."
    Show stack trace
  6. I.K.via Stack Overflow3 months ago
    Expected: iterable containing [<[Item{name=iPhone}, Item{name=Skateboard}]>] but: item 0: was <Item{name=iPhone}>
    Show stack trace
  7. jakelandisvia GitHub4 months ago
    Expected: is a numeric value within <0.1> of <3.0> but: <4.0> differed by <0.9>
    Show stack trace
  8. mithunsvia GitHub4 months ago
    Expected: a value greater than <0> but: <0> was equal to <0>
    Show stack trace
  9. Einar Pehrsonvia Ecosystem JIRA5 months ago
  10. Einar Pehrsonvia Ecosystem JIRA5 months ago
    Expected: null but: was <Content{id='ContentId{id=983152}', type=ac:some.test_addon__q9usqcny:test-custom-content-1, title='Test Custom Content Title 1466382927027', status=current, space=ExpandedReference{idProperties={key=ds}, of=some(Space{key=ds, name=Demonstration Space})}, history=ExpandedReference{idProperties={contentParent=null}, of=some(com.atlassian.confluence.api.model.content.History@7ab63838)}, version=ExpandedReference{idProperties={number=1}, of=some(Version{by=com.atlassian.confluence.api.model.people.KnownUser@4e974b9e, when=2016-06-20T00:35:27.069Z, number=1, message=, syncrev=null, content=EmptyReference{referentClass=class com.atlassian.confluence.api.model.content.Content}})}, ancestors=[], container=EmptyReference{referentClass=interface com.atlassian.confluence.api.model.content.Container}, childTypes={}}>
    Show stack trace