/** * @covers phpDocumentor\Transformer\Transformer::setBehaviours * @covers phpDocumentor\Transformer\Transformer::getBehaviours */ public function testProvidingBehaviours() { $this->assertEquals(null, $this->fixture->getBehaviours()); $behaviours = m::mock('phpDocumentor\\Transformer\\Behaviour\\Collection'); $this->fixture->setBehaviours($behaviours); $this->assertEquals($behaviours, $this->fixture->getBehaviours()); }