public function testShouldLoadParentResourceThroughProperIdParameter()
{
$projectAttributes = ['id' => 2];
$project = $this->buildModel('Project', $projectAttributes);
$this->params = array_merge($this->params, ['controller' => 'categories', 'action' => 'index', 'project_id' => $project->id]);
$resource = new Efficiently\AuthorityController\ControllerResource($this->controller, 'project');
$resource->loadResource();
$this->assertEquals($this->getProperty($this->controller, 'project'), $project);
}