/** * @test * @expectedException \InvalidArgumentException * @return void */ public function testGetDomainModelWithIncorrectType() { $this->_model->getDomainModel('bla-bla-bla'); }