/** * @expectedException \Dive\Exception */ public function testClassFileWithInvalidModelThrowsException() { $this->modelGenerator->getContent('notExistingModelName', $this->getSchema()); }