Scalr\Tests\Functional\Api\V2\TestData\Farm::prepareTestData PHP Method

prepareTestData() public method

See also: ApiFixture::prepareTestData()
public prepareTestData ( )
    public function prepareTestData()
    {
        if (!empty($this->sets[static::TEST_DATA_PROJECTS])) {
            $this->prepareProjects(static::TEST_DATA_PROJECTS);
        }
        if (!empty($this->sets[static::TEST_DATA_FARM])) {
            if (!empty($this->sets[static::TEST_DATA_FARM_SETTINGS])) {
                $this->prepareData(static::TEST_DATA_FARM_SETTINGS);
            }
            $this->prepareFarm(static::TEST_DATA_FARM);
        }
        $this->prepareData(static::TEST_DATA);
    }