Skip to content

Commit

Permalink
explicit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Hiroki committed Oct 2, 2021
1 parent 1210d80 commit 44b4ae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/creational/prototype/PrototypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public function testSmartphoneClone(): void

$clonedSmartphone = clone $smartphone;

self::assertEquals($clonedSmartphone->getId(), $smartphone->getId());
self::assertEquals($clonedSmartphone->getName(), $smartphone->getName());
self::assertEquals($clonedSmartphone, $smartphone);
}

Expand Down

0 comments on commit 44b4ae3

Please sign in to comment.