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