public function testMissingStateMachineName()
 {
     $this->setExpectedException(VerificationError::CLASS, 'Required state machine name is missing. Make sure to call setStateMachineName.');
     $states = [new State('editing', StateInterface::TYPE_INITIAL), new State('published', StateInterface::TYPE_FINAL)];
     $transiton = new Transition('editing', 'published');
     $builder = new StateMachineBuilder();
     $state_machine = $builder->addStates($states)->addTransition($transiton, 'promote')->build();
 }