function it_has_a_class_generator(ClassGenerator $class) { $this->getClass()->shouldReturn($class); }