Neos\Flow\Tests\Unit\Reflection\ReflectionServiceTest::setUp PHP Метод

setUp() публичный Метод

public setUp ( )
    public function setUp()
    {
        $this->reflectionService = $this->getAccessibleMock(ReflectionService::class, null);
        $this->mockAnnotationReader = $this->getMockBuilder('Doctrine\\Common\\Annotations\\Reader')->disableOriginalConstructor()->getMock();
        $this->mockAnnotationReader->expects($this->any())->method('getClassAnnotations')->will($this->returnValue([]));
        $this->inject($this->reflectionService, 'annotationReader', $this->mockAnnotationReader);
    }