/** * @group factory * @expectedException Rossedman\Teamwork\Exceptions\ClassNotCreatedException */ public function test_that_it_fails_when_object_does_not_exist() { $factory = new Factory($this->requestable); $factory->butts(); }