public void testCompareToDurationLT() throws DatatypeConfigurationException {
System.out.println("TModelInstanceDetailsComparator.compare testCompareToDurationLT");
TModelInstanceDetails lhs = new TModelInstanceDetails();
lhs.getTModelInstanceInfo().add(new TModelInstanceInfo());
lhs.getTModelInstanceInfo().get(0).setTModelKey("hi");
lhs.getTModelInstanceInfo().get(0).setInstanceDetails(new InstanceDetails());
lhs.getTModelInstanceInfo().get(0).getInstanceDetails().setInstanceParms("P1Y");
TModelInstanceDetails rhs = new TModelInstanceDetails();
rhs.getTModelInstanceInfo().add(new TModelInstanceInfo());
rhs.getTModelInstanceInfo().get(0).setTModelKey("hi");
rhs.getTModelInstanceInfo().get(0).setInstanceDetails(new InstanceDetails());
rhs.getTModelInstanceInfo().get(0).getInstanceDetails().setInstanceParms("P3Y");
TModelInstanceDetailsComparator instance = new TModelInstanceDetailsComparator("hi", false, false, true);
int result = instance.compare(lhs, rhs);
Assert.assertTrue("result " + lhs.getTModelInstanceInfo().get(0).getInstanceDetails().getInstanceParms() + " compare to " +
rhs.getTModelInstanceInfo().get(0).getInstanceDetails().getInstanceParms() + " " +