for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hiqdev\billing\hiapi\tests\unit\plan;
use hiqdev\php\billing\plan\Plan;
use hiqdev\billing\hiapi\plan\PlanRepository;
use hiqdev\yii\DataMapper\tests\unit\BaseRepositoryTest;
class PlanRepositoryTest extends BaseRepositoryTest
{
public function testDI()
$this->assertInstanceOf(PlanRepository::class, $this->getRepo());
}
protected function getRepo(): PlanRepository
return $this->getRepository(Plan::class);
return $this->getReposit...lling\plan\Plan::class)
hiqdev\yii\DataMapper\repositories\BaseRepository
hiqdev\billing\hiapi\plan\PlanRepository