public function generate(ReflectionClass $class, array $methods, array $uncovered) : void
    {
        $this->objectUnderTest = $class;
        $this->features = [];
        foreach ($methods as $method) {
            if (isset($uncovered[$method->name]) && $uncovered[$method->name]) {
                $this->addFeature($class, $method, $uncovered[$method->name]);
            }
        }
        $this->write();
    }