setUsed() public method

Set module used for cli session.
public setUsed ( $name )
$name
コード例 #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());
 }