TestGroupFunction<SUT> typedef

TestGroupFunction<SUT> = FutureOr Function(UnitMocks mocks, SUT systemUnderTest)

Used as a signature for test methods setUp, setUpAll, tearDown and tearDownAll.

In this version of this signature the systemUnderTest is NOT allowed to be null.

Implementation

typedef TestGroupFunction<SUT> = FutureOr Function(
  UnitMocks mocks,
  SUT systemUnderTest,
);