BasicAssertions<T> extension

on
  • T?

Methods

shouldBe(T expected) → void
Asserts that the value is the same instance as expected, using identical.
shouldBeEqualTo(T expected) → void
Asserts that the value is structurally equal to expected.
shouldBeInstanceOf<E>() → void
E - Expected type.
shouldBeNull() → void
shouldNotBe(T expected) → void
Asserts that the value is not the same instance as expected, using identical.
shouldNotBeEqualTo(T expected) → void
Asserts that the value is structurally different from expected.
shouldNotBeInstanceOf<E>() → void
E - Expected type.
shouldNotBeNull() → void