@Test
public void testBuild() {

    TypeElement typeElement = getType(Color.class);
    TypeDefinition typeDefinition = build(processingEnv, typeElement);
    assertEquals(Color.class.getName(), typeDefinition.getType());
    assertEquals(asList("RED", "YELLOW", "BLUE"), typeDefinition.getEnums());
      assertEquals(typeDefinition.getTypeBuilderName(), builder.getClass().getName());
}