Pattern selector

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

  1. Assert.assertThat() has thrown an AssertionError
    JUnit
    11
    153
    5
  2. Assert.assertThat() has thrown an AssertionError
    JUnit
    14
    190
    5

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.AssertionError: Expected: iterable containing [with toString() "c"] but: item 0: toString() was "a"
1 matching frame hidden
    at org.junit.Assert.assertThat(Assert.java:865)
    at org.junit.Assert.assertThat(Assert.java:832)

External results for this pattern (10)

  1. Stephan Classenvia Google Groups6 days ago
    Expected: is <com.mysema.query.sql.Configuration@7a79dbc7> but: was null
    Show stack trace
  2. Anton Beloglazovvia Google Groups6 days ago
    Expected: is <com.mysema.query.sql.Configuration@7a79dbc7> but: was null
    Show stack trace
  3. kasemirvia GitHub1 week ago
    Expected: a string containing "always" but: was "['/Users/claudiorosati/.m2/repository/p2/osgi/bundle/org.python.jython/2.7.0.release/org.python.jython-2.7.0.release.jar/Lib', '__classpath__', '__pyclasspath__/']"
    Show stack trace
  4. maggu2810via GitHub3 weeks ago
    Expected: is <true> but: was <false>
    Show stack trace
  5. triller-telekomvia GitHub3 weeks ago
    Expected: is <IDLE> but: was <DISABLED>
    Show stack trace
  6. 2mvia GitHub1 month ago
    Expected: <[]> [info] but: was <[Item{id=1, name=38.99, price=Shirt}, Item{id=2, name=39.99, price=Shoes}]>
    Show stack trace
  7. timwebster9via GitHub1 month ago
    Expected: not null but: was null
    Show stack trace
  8. timwebster9via GitHub1 month ago
    Expected: not null but: was null
    Show stack trace
  9. sjkavia GitHub1 month ago
    Expected: is "Тригер 1 Обновен Етикет" but: was "Trigger 1 Label"
    Show stack trace
  10. sjkavia GitHub1 month ago
    Expected: is <0> but: was <2>
    Show stack trace