PhpBench\Tests\Unit\Storage\Driver\Xml\XmlDriverTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->xmlEncoder = $this->prophesize(XmlEncoder::class);
        $this->xmlDecoder = $this->prophesize(XmlDecoder::class);
        $this->filesystem = $this->prophesize(Filesystem::class);
        $this->driver = new XmlDriver('/path/to', $this->xmlEncoder->reveal(), $this->xmlDecoder->reveal(), $this->filesystem->reveal());
        $this->collection = $this->prophesize(SuiteCollection::class);
        $this->suite = $this->prophesize(Suite::class);
        $this->document = $this->prophesize(Document::class);
    }