public function testReferences() { self::reset(); fFixture::setDatabase(fORMDatabase::retrieve()); $fixture = fFixture::create(FIXTURES_ROOT . "/references/"); $user = new User(1); $shop = new Shop(1); $this->assertTrue($user->exists()); $this->assertTrue($shop->exists()); $this->assertEquals(1, $user->getShopId()); }