public function testUsed() { $this->repository->setUsed('user'); $used = $this->repository->getUsed(); $this->assertEquals('user', $used->getLowerName()); }
/** * Set module used for cli session. * * @param $name * @throws ModuleNotFoundException * @static */ public static function setUsed($name) { return \Pingpong\Modules\Repository::setUsed($name); }