Examples of HouseMeterSwitch


Examples of fr.imag.adele.apam.pax.test.impl.deviceSwitch.HouseMeterSwitch

  System.out.println("1 ----- " + inst1 + "/" + inst1.getServiceObject());
  System.out.println("2 ----- " + inst2 + "/" + inst2.getServiceObject());
  System.out.println("3 ----- " + inst3 + "/" + inst3.getServiceObject());

  HouseMeterSwitch houseMeter1 = (HouseMeterSwitch) inst1
    .getServiceObject();
  HouseMeterSwitch houseMeter2 = (HouseMeterSwitch) inst2
    .getServiceObject();
  HouseMeterSwitch houseMeter3 = (HouseMeterSwitch) inst3
    .getServiceObject();

  Assert.assertTrue(
    "In case of a not singleton and not shared instance, all instances should be different",
    houseMeter1 != houseMeter2);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.