AcControllerResourceTest::testShouldBeAParentResourceWhenNameIsProvidedWhichDoesntMatchController PHP Метод

testShouldBeAParentResourceWhenNameIsProvidedWhichDoesntMatchController() публичный Метод

Should be a parent resource when name is provided which doesn't match controller
    public function testShouldBeAParentResourceWhenNameIsProvidedWhichDoesntMatchController()
    {
        $resource = new Efficiently\AuthorityController\ControllerResource($this->controller, 'category');
        $this->assertTrue($resource->isParent());
    }
AcControllerResourceTest