thenAnswerWithVoid method

void thenAnswerWithVoid()

The function will be called and completed normally.

Implementation

void thenAnswerWithVoid() => thenAnswer((_) => Future<void>.value());