mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-23 08:11:17 +02:00
Add assertions to AdapterTest
This commit is contained in:
@@ -35,7 +35,7 @@ class AdapterTest extends \PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
public function testIAmAnOldClient(PaperBookInterface $book)
|
public function testIAmAnOldClient(PaperBookInterface $book)
|
||||||
{
|
{
|
||||||
$book->open();
|
$this->assertTrue(method_exists($book, 'open'));
|
||||||
$book->turnPage();
|
$this->assertTrue(method_exists($book, 'turnPage'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user