Package no.ugland.utransprod.gui.model

Examples of no.ugland.utransprod.gui.model.CustomerModel


    assertNotNull(viewHandler.getSearchButton(null));
  }

  @Test
  public void testDoNotSaveCustomerWithSameNr() {
    viewHandler.saveObject(new CustomerModel(new Customer(null, 100100100,
        "Tull", "Ball", null)), null);
    assertNotNull(viewHandler.checkSaveObject(new CustomerModel(
        new Customer(null, 100100100, "Tull", "Ball", null)), null,
        null));
  }
View Full Code Here


        null));
  }

  @Test
  public void testSaveCustomer() throws Exception {
    viewHandler.saveObject(new CustomerModel(new Customer(null, 100100100,
        "Tull", "Ball", null)), null);
    assertEquals(1, viewHandler.getObjectSelectionListSize());
  }
View Full Code Here

  private JTextField textFieldLastName;

  public EditCustomerView(final CustomersViewHandler handler,
      final Customer customer, final boolean searchDialog) {
    super(searchDialog, new CustomerModel(customer), handler);
  }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.gui.model.CustomerModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.