src/Generator.php
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();
    }
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();
    }
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 ( ) ; }
Generates stub test methods for all found features.

@param ReflectionClass $class The reflection of the object or trait under
test.
@param array $methods Array of reflected methods to generate test
skeletons for.
@param array $uncovered Array of uncovered method calls.
@return void
Generates stub test methods for all found features .