java.lang.AssertionError: . Expected value to be null, but was: <Payout@326de728>.

GitHub | codeslubber | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    shouldNotBeNull does not work

    GitHub | 1 year ago | codeslubber
    java.lang.AssertionError: . Expected value to be null, but was: <Payout@326de728>.

    Root Cause Analysis

    1. java.lang.AssertionError

      . Expected value to be null, but was: <Payout@326de728>.

      at kotlin.test.DefaultAsserter.fail()
    2. kotlin.test
      Asserter$DefaultImpls.assertNull
      1. kotlin.test.DefaultAsserter.fail(TestJVM.kt:79)
      2. kotlin.test.Asserter$DefaultImpls.assertTrue(Test.kt:112)
      3. kotlin.test.DefaultAsserter.assertTrue(TestJVM.kt:73)
      4. kotlin.test.Asserter$DefaultImpls.assertNull(Test.kt:149)
      4 frames