public function testShouldNotBuildASingleResourceWhenOnCustomCollectionActionEvenWithId()
{
$project = $this->mock('Project');
$project->shouldReceive('get')->once()->andReturn(collect());
$this->params = array_merge($this->params, array_merge(['action' => 'sort', 'id' => '123']));
$resource = new Efficiently\AuthorityController\ControllerResource($this->controller, ['collection' => ['sort', 'list']]);
$resource->loadResource();
$this->assertNull($this->getProperty($this->controller, 'project'));
}