Neos\Flow\Tests\Unit\Cli\CommandTest::setUp PHP 메소드

setUp() 공개 메소드

public setUp ( ) : void
리턴 void
    public function setUp()
    {
        $this->command = $this->getAccessibleMock(Cli\Command::class, ['getCommandMethodReflection'], [], '', false);
        $this->methodReflection = $this->createMock(MethodReflection::class, [], [__CLASS__, 'dummyMethod']);
        $this->command->expects($this->any())->method('getCommandMethodReflection')->will($this->returnValue($this->methodReflection));
    }