hiqdev /
billing-hiapi
| 1 | <?php |
||
| 2 | |||
| 3 | namespace hiqdev\billing\hiapi\tests\unit\bill; |
||
| 4 | |||
| 5 | use hiqdev\php\billing\bill\Bill; |
||
| 6 | use hiqdev\billing\hiapi\bill\BillRepository; |
||
| 7 | use hiqdev\yii\DataMapper\tests\unit\BaseRepositoryTest; |
||
| 8 | |||
| 9 | class BillRepositoryTest extends BaseRepositoryTest |
||
| 10 | { |
||
| 11 | public function testDI() |
||
| 12 | { |
||
| 13 | $this->assertInstanceOf(BillRepository::class, $this->getRepo()); |
||
| 14 | } |
||
| 15 | |||
| 16 | protected function getRepo(): BillRepository |
||
| 17 | { |
||
| 18 | return $this->getRepository(Bill::class); |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 19 | } |
||
| 20 | } |
||
| 21 |