    @Test
    public void testGetRawType_Null() throws Exception {

        try {
            Types.getRawType(null);
            fail("An IllegalArgumentException must have occurred as we passed a null object to this method");
        } catch (IllegalArgumentException ex) {
            assertTrue(ex.getMessage().startsWith("Expected a Class, ParameterizedType, or GenericArrayType"));
        }
    }