junit.framework.AssertionFailedError: expected:<null> but was:<<0,0,1,1>>

toronto.edu | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Software Design: A Unit Testing Framework

    toronto.edu | 7 months ago
    junit.framework.AssertionFailedError: expected:<null> but was:<<0,0,1,1>>

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      expected:<null> but was:<<0,0,1,1>>

      at TestDirect.testDouble()
    2. Unknown
      TestDirect.testDouble
      1. TestDirect.testDouble(TestDirect.java:26)
      1 frame
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    4. Unknown
      TestDirect.main
      1. TestDirect.main(TestDirect.java:73)
      1 frame