@Test
public void testIncompatibleTypes() {

    withClasses("Employee", "SimpleObject");
    try {
        String common = DescriptorUtils.findSumType(classes).getUnqualifiedName();
        fail("No exception thrown: " + common);
    } catch (MetaDataException e) {
        // Expected behaviour.
    }
}