expected:<[Hi there! ]> but was:<[]>

Solutions on the web1015

Stack trace

  • org.junit.ComparisonFailure: expected:<[Hi there! ]> but was:<[]> at org.junit.Assert.assertEquals( at org.junit.Assert.assertEquals( at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

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

Once, 1 day ago
3 times, 1 week ago
Once, 3 weeks ago
2 times, 1 month ago
2 times, 1 month ago
24 more bugmates