mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-05 05:24:57 +02:00
Add assertions to AdapterTest
This commit is contained in:
parent
58f0fc6d5f
commit
d703a87fe8
@ -35,7 +35,7 @@ class AdapterTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testIAmAnOldClient(PaperBookInterface $book)
|
||||
{
|
||||
$book->open();
|
||||
$book->turnPage();
|
||||
$this->assertTrue(method_exists($book, 'open'));
|
||||
$this->assertTrue(method_exists($book, 'turnPage'));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user