public function testHasManyToManySingular() { $this->setExpectedException('fProgrammerException'); $user = new User(1); $user->hasGroup(); }