Package org.bifrost.xmlio.test.helpers.inheritance

Examples of org.bifrost.xmlio.test.helpers.inheritance.TestHelperOwner


   */
  public void testDashesAndInheritance()
  {
    CharArrayWriter output = new CharArrayWriter();
    assertNotNull(output);
    TestHelperOwner owner = new TestHelperOwner();
    assertNotNull(owner);
    owner.setName("Jane Smith");
    TestHelperCar car = new TestHelperCar();
    car.setKms(18768);
    car.setNumberDoors("5");
    car.setVin("A880BBC64");
    owner.addTestHelperVehicle(car);
    TestHelperBoat boat = new TestHelperBoat();
    boat.setKms(7248);
    boat.setVin("6674C");
    boat.setTopSpeedInKnots("54");
    owner.addTestHelperVehicle(boat);
    Diff myDiff = null;
    try
    {
      XmlWriter xmlWriter = new XmlWriter(output);
      assertNotNull(xmlWriter);
View Full Code Here

TOP

Related Classes of org.bifrost.xmlio.test.helpers.inheritance.TestHelperOwner

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.