/** * Run tests to ensure the output is correct for set/getPosition * * @return void */ public function testPosition() { $position = $this->getMock('\\OpenSkedge\\AppBundle\\Entity\\Position'); $sh = new Shift(); $sh->setPosition($position); $this->assertInstanceOf('\\OpenSkedge\\AppBundle\\Entity\\Position', $sh->getPosition()); }