setUsed() public method

Set module used for cli session.
public setUsed ( $name )
$name
Esempio n. 1
0
 /** @test */
 public function it_sets_used_module()
 {
     $this->repository->addLocation(__DIR__ . '/stubs/Recipe');
     $this->repository->setUsed('Recipe');
     $this->assertEquals('Recipe', $this->repository->getUsed());
     $this->assertEquals('Recipe', $this->repository->getUsedNow());
 }