Hostnet\Component\Webpack\Asset\DumperTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        $this->fixture_path = realpath(__DIR__ . '/../../Fixture');
        $this->dumper = new Dumper($this->getMockBuilder(Filesystem::class)->getMock(), $this->getMockBuilder(LoggerInterface::class)->getMock(), ['FooBundle' => $this->fixture_path . '/Bundle/FooBundle', 'BarBundle' => $this->fixture_path . '/Bundle/BarBundle'], 'Resources/public', $this->fixture_path . '/dumper_output');
        // Clean out the fixture dumper path before dumping resources.
        if (file_exists($this->fixture_path . '/dumper_output')) {
            (new Filesystem())->remove($this->fixture_path . '/dumper_output');
        }
    }