@Test(expected = IllegalArgumentException.class)
public void testInvalidType1() throws Exception {

    String label = "foo:Float:";
    JsonObject root = gson.fromJson(String.format("{ '%s' : 123 }", label), JsonObject.class);
    TypeUtils.parse(label, root.get(label));
}