Skip to content

Commit

Permalink
add tests to dummy methods
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Feb 5, 2021
1 parent 785d74a commit dd53ca0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/LogFakeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,4 +579,15 @@ public function testLoggedClosureWithNonBooleanReturn(): void
return 1;
});
}

public function testDummyMethods(): void
{
$logFake = new LogFake();

$this->assertSame($logFake->getLogger(), $logFake);
$this->assertNull($logFake->listen());
$this->assertNull($logFake->extend());
$this->assertNull($logFake->getEventDispatcher());
$this->assertNull($logFake->setEventDispatcher());
}
}

0 comments on commit dd53ca0

Please sign in to comment.