| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 9 | public function testFindByIdReturnsCompanyModel() |
||
| 10 | { |
||
| 11 | $testMapper = $this->getTestMapper(); |
||
| 12 | $testMapper->insert(array('company_id' => 1, 'name' => 'company'), 'contact_company'); |
||
| 13 | |||
| 14 | $mapper = $this->getMapper(); |
||
| 15 | $result = $mapper->findById(1); |
||
| 16 | $this->assertTrue($result instanceof \SpeckCatalog\Model\Company); |
||
| 17 | } |
||
| 18 | |||
| 35 |