Skip to content

Commit 6fe8662

Browse files
author
Dominik Liebler
committed
Merge pull request DesignPatternsPHP#179 from brettsantore/adapter
Add assertions to AdapterTest
2 parents 7715206 + d703a87 commit 6fe8662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Structural/Adapter/Tests/AdapterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getBook()
3535
*/
3636
public function testIAmAnOldClient(PaperBookInterface $book)
3737
{
38-
$book->open();
39-
$book->turnPage();
38+
$this->assertTrue(method_exists($book, 'open'));
39+
$this->assertTrue(method_exists($book, 'turnPage'));
4040
}
4141
}

0 commit comments

Comments
 (0)