/**
  * @covers phpDocumentor\Transformer\Behaviour\Collection::process
  */
 public function testProcessAllBehaviours()
 {
     // Arrange
     $projectMock = m::mock('phpDocumentor\\Descriptor\\ProjectDescriptor');
     $behaviourMock = m::mock('phpDocumentor\\Transformer\\Behaviour\\BehaviourAbstract');
     $behaviourMock->shouldReceive('process')->with($projectMock)->andReturn($projectMock);
     $this->fixture->addBehaviour($behaviourMock);
     // Act
     $result = $this->fixture->process($projectMock);
     // Assert
     $this->assertSame($projectMock, $result);
 }