public function testBuildNewResourceForNamespacedControllerAndNamespacedModelWithAssociativeArrayIfParamIdIsNotSpecified()
{
$this->buildModel('Project');
$this->params = array_merge($this->params, ['controller' => 'Admin\\SubProjectsController', 'action' => 'store', 'sub_project' => ['name' => 'foobar']]);
$resource = new Efficiently\AuthorityController\ControllerResource($this->controller, ['class' => 'Project']);
$resource->loadResource();
$this->assertEquals($this->getProperty($this->controller, 'subProject')->name, "foobar");
}