@Test
public void testNull() throws MetaDataException {

    classes = null;
    try {
        DescriptorUtils.findSumType(classes);
        fail("No exception thrown");
    } catch (IllegalArgumentException e) {
        // Expected behaviour.
    }
}