Elgg\Database\SubtypeTableTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->db = $this->mocks()->db;
        _elgg_services()->setValue('db', $this->db);
        _elgg_services()->setValue('subtypeTable', new SubtypeTable($this->db));
    }