Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function testCreateBookmarkFromCreateStruct() |
||
30 | { |
||
31 | $createStruct = new CreateStruct([ |
||
32 | 'name' => 'Contact', |
||
33 | 'locationId' => 54, |
||
34 | 'userId' => 87, |
||
35 | ]); |
||
36 | |||
37 | $this->assertEquals(new Bookmark([ |
||
38 | 'name' => 'Contact', |
||
39 | 'locationId' => 54, |
||
40 | 'userId' => 87, |
||
41 | ]), $this->mapper->createBookmarkFromCreateStruct($createStruct)); |
||
42 | } |
||
43 | |||
82 |