NAME

Test::Approvals::Reporters::FakeReporter - Reporter which doesn't actually do anything, but you can check to see if it was called.

report

my $received = 'test.received.txt';
my $approved = 'test.approved.txt';
$reporter->report($received, $approved);

Sets a value indicating that report was called.

was_called

my $ok = $reporter->was_called();
ok($ok, 'reporter was called');

Gets a value indicating whether report was called. Mostly used for mocking reporters in tests for Test::Approvals itself.