public function testUsed() { $this->repository->setUsed('user'); $used = $this->repository->getUsed(); $this->assertEquals('user', $used->getLowerName()); }
/** * Get used now. * * @return string * @static */ public static function getUsed() { return \Pingpong\Modules\Repository::getUsed(); }