InfluxDB\Test\DatabaseTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $this->resultData = file_get_contents(dirname(__FILE__) . '/json/result.example.json');
        $this->mockClient->expects($this->any())->method('listDatabases')->will($this->returnValue(array('test123', 'test')));
        $this->dataToInsert = file_get_contents(dirname(__FILE__) . '/json/input.example.json');
    }