예제 #1
0
파일: SleepTest.php 프로젝트: tourman/fsm
 public function setUp()
 {
     parent::setUp();
     $methods = array('isInitialized', 'isSleep', 'getTimestamp');
     $this->_fsm = $this->getMockBuilder('TestFiniteStateMachine')->setMethods($methods)->getMock();
     $this->_fsm->method('getTimestamp')->will($this->returnValue('1.000000'));
     $stateSet = $this->_getBillingStateSet();
     $this->_fsm->setStateSet($stateSet);
 }
예제 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->_exceptionMessage = null;
 }
예제 #3
0
파일: IsSleepTest.php 프로젝트: tourman/fsm
 public function setUp()
 {
     parent::setUp();
 }