@Test(expected = IllegalArgumentException.class)
public void testCompareToNoData() throws DatatypeConfigurationException {

    System.out.println("TModelInstanceDetailsComparator.compare testCompareToNoData");
    TModelInstanceDetails lhs = new TModelInstanceDetails();
    lhs.getTModelInstanceInfo().add(new TModelInstanceInfo());
    lhs.getTModelInstanceInfo().get(0).setTModelKey("hi");
    lhs.getTModelInstanceInfo().get(0).setInstanceDetails(new InstanceDetails());
    TModelInstanceDetails rhs = new TModelInstanceDetails();
    rhs.getTModelInstanceInfo().add(new TModelInstanceInfo());
    rhs.getTModelInstanceInfo().get(0).setTModelKey("hi");
    rhs.getTModelInstanceInfo().get(0).setInstanceDetails(new InstanceDetails());
    TModelInstanceDetailsComparator instance = new TModelInstanceDetailsComparator("hi", true, false, false);
    int expResult = 0;
    int result = instance.compare(lhs, rhs);
}