public function shouldReturnTrueRuleAndNullCommandWhenRuleEmpty()
{
$from = new State('a');
$to = new State('b');
$context = new Context(new Identifier(Identifier::NULL_ENTITY_ID, Identifier::NULL_STATEMACHINE));
$transition = new Transition($from, $to, null, '', '');
$this->assertTrue(is_a($transition->getRule($context), Transition::RULE_TRUE));
$this->assertTrue(is_a($transition->getCommand($context), Transition::COMMAND_NULL));
}