Neos\Flow\Tests\Unit\Mvc\Controller\ArgumentTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->simpleValueArgument = new Mvc\Controller\Argument('someName', 'string');
        $this->objectArgument = new Mvc\Controller\Argument('someName', 'DateTime');
        $this->mockPropertyMapper = $this->createMock(PropertyMapper::class);
        $this->inject($this->simpleValueArgument, 'propertyMapper', $this->mockPropertyMapper);
        $this->inject($this->objectArgument, 'propertyMapper', $this->mockPropertyMapper);
        $this->mockConfiguration = new Mvc\Controller\MvcPropertyMappingConfiguration();
        $this->inject($this->simpleValueArgument, 'propertyMappingConfiguration', $this->mockConfiguration);
        $this->inject($this->objectArgument, 'propertyMappingConfiguration', $this->mockConfiguration);
    }