/** * @covers Paradox\pod\Document::getModel */ public function testGetModel() { $model = $this->getMockForAbstractClass('Paradox\\AModel'); $this->document->loadModel($model); $this->assertEquals($model, $this->document->getModel(), "The retrieved model is not the one we loaded into the pod"); }