public function testBadInstance() { $this->setExpectedException('Exception'); EmployeeFactory::build('BadName'); }