Ejemplo n.º 1
0
 public void Customer_CallConstructorWithData_CustomerIsPopulatedCorrectly()
 {
     var expected = CreateFamousCustomerVMs().First();
     var sessionData = new FakeSessionData { Customer = expected };
     var vm = new ExistingTransactionVM(sessionData);
     AssertAreEqual(expected, vm.Customer);
 }
 public ExistingTransactions(ExistingTransactionVM viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }