public void HasLayerByIdWithInvalidId()
 {
     StateMachinePack.StateMachine stateMachine = new StateMachinePack.StateMachine();
     Assert.ThrowsException <Exception>(() => stateMachine.HasLayerById("ALidaf?>?\\@!$!$#"));
 }
 public void HasLayerByIdWithNullId()
 {
     StateMachinePack.StateMachine stateMachine = new StateMachinePack.StateMachine();
     Assert.ThrowsException <NullReferenceException>(() => stateMachine.HasLayerById(null));
 }
 public void HasLayerById()
 {
     StateMachinePack.StateMachine stateMachine = new StateMachinePack.StateMachine();
     Assert.IsTrue(stateMachine.HasLayerById("DEFAULT"));
 }