}
@Test
public void testCompareToDateGT() throws DatatypeConfigurationException {
System.out.println("TModelInstanceDetailsComparator.compare testCompareToDateGT");
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("2006-05-30T09:30:10-06:00");
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("2004-05-30T09:30:10-06:00");
TModelInstanceDetailsComparator instance = new TModelInstanceDetailsComparator("hi", false, true, false);
int result = instance.compare(lhs, rhs);
Assert.assertTrue("result " + lhs.getTModelInstanceInfo().get(0).getInstanceDetails().getInstanceParms() + " compare to " +
rhs.getTModelInstanceInfo().get(0).getInstanceDetails().getInstanceParms() + " " +
result, result > 0);
}