示例#1
0
 /**
  * @covers \Tests\Stub\ActionStub
  */
 public function testCallingManipulateSetsCalledToTrue()
 {
     ActionStub::$called = false;
     $stub = new ActionStub();
     $container = new TokenContainer();
     $this->assertFalse(ActionStub::$called);
     $stub->run($container);
     $this->assertTrue(ActionStub::$called);
 }