Пример #1
0
 public function testType()
 {
     $state = new State('test', StateInterface::TYPE_FINAL);
     $this->assertSame('test', $state->getName());
     $this->assertSame(StateInterface::TYPE_FINAL, $state->getType());
 }