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