public function testExceptionWhenClassCannotBeFound() { $msg = 'No class name defined for type "DentalGuitar"'; $this->setExpectedException('Wookieb\\ZorroDataSchema\\Exception\\ClassNotFoundException', $msg); $this->object->getClass('DentalGuitar'); }