public function testConstructFailsWithoutParameters() { $this->setExpectedException('\\Exception', 'You must specify a resource folder'); new BuildGenerator(null, null); }