TestGroupFunctionNullable<SUT> typedef

TestGroupFunctionNullable<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 allowed to be null.

Implementation

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