@Test(expected = IllegalStateException.class)
public void testReadGenericAttributeType_InvalidAttribute() throws Exception {

    AbstractAttribute.readGenericAttributeType(InvalidAttribute.class, "foo");
}