shouldBe method
void
shouldBe(
- T expected
Asserts that the value is the same instance as expected
, using identical.
Implementation
void shouldBe(T expected) => expect(this, same(expected));
Asserts that the value is the same instance as expected
, using identical.
void shouldBe(T expected) => expect(this, same(expected));