abstract fun assertEquals(expected: Any, actual: Any): TestContext
Assert the expected argument is equals to the actual argument. If the arguments are not equals an assertion error is thrown otherwise the execution continue.
expected - the object the actual object is supposedly equals to
actual - the actual object to test
Return
a reference to this, so the API can be used fluently
abstract fun assertEquals(expected: Any, actual: Any, message: String): TestContext
Assert the expected argument is equals to the actual argument. If the arguments are not equals an assertion error is thrown otherwise the execution continue.
expected - the object the actual object is supposedly equals to
actual - the actual object to test
Return
a reference to this, so the API can be used fluently