AcControllerResourceTest::testShouldNotBeAParentResourceWhenNameIsProvidedWhichMatchesController PHP Метод

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

// Should not be a parent resource when name is provided which matches controller
    public function testShouldNotBeAParentResourceWhenNameIsProvidedWhichMatchesController()
    {
        $resource = new Efficiently\AuthorityController\ControllerResource($this->controller, 'project');
        $this->assertFalse($resource->isParent());
    }
AcControllerResourceTest