public function testShouldBuildAResourceWhenOnCustomCreateActionEvenWhenParamsIdExists()
{
$this->params = array_merge($this->params, array_merge(['action' => 'build', 'id' => '123']));
$project = $this->mock('Project');
$project->shouldReceive('__toString')->once()->andReturn("some_project");
$resource = new Efficiently\AuthorityController\ControllerResource($this->controller, ['create' => 'build']);
$resource->loadResource();
$this->assertEquals($this->getProperty($this->controller, 'project'), 'some_project');
}