UnitStepCallback<SUT, Example extends UnitExample?> typedef

UnitStepCallback<SUT, Example extends UnitExample?> = FutureOr<void> Function(SUT systemUnderTest, UnitLog log, UnitBox box, UnitMocks mocks, [Example? example])

Callback used to provide the necessary tools to execute a UnitStep.

Implementation

typedef UnitStepCallback<SUT, Example extends UnitExample?> = FutureOr<void>
    Function(
  SUT systemUnderTest,
  UnitLog log,
  UnitBox box,
  UnitMocks mocks, [
  Example? example,
]);