public void ShouldSetIdentifier()
 {
     LoadMapViewModel vm = new LoadMapViewModel(MockFactory.Object);
     Assert.IsTrue(vm.LoadMapCommand.CanExecute(null));
     vm.LoadMapCommand.Execute(null);
     Assert.AreEqual("test", vm.LayoutIdentifier);
 }
 public void ShouldTransitionToChooseBrand()
 {
     LoadMapViewModel vm = new LoadMapViewModel(MockFactory.Object);
     Assert.IsFalse(vm.CanTransition);
     vm.LoadMapCommand.Execute(null);
     Assert.IsTrue(vm.CanTransition);
     Assert.IsTrue(vm.GetNextState() is ChooseBrandViewModel);
 }
 public void ShouldReturnNullIfNoLayout()
 {
     LoadMapViewModel vm = new LoadMapViewModel(MockFactory.Object);
     Assert.IsFalse(vm.CanTransition);
     Assert.AreEqual(null, vm.GetNextState());
 }