@Test void propertiesTest() { final Ui form1 = ui().withJsonSchema(JsonSchema.jsonSchemaFrom(Form1.class).build()).withProperties(new Form1()).build(); final String json = jsonb.toJson(form1); assertEquals("{\"jsonSchema\":{\"properties\":{\"name\":{\"type\":\"string\"}},\"title\":\"Form1\"," + "\"type\":\"object\"},\"properties\":{\"name\":\"foo\"}}", json); }
public static Builder ui() { return new Builder(); }
Ui { public static Builder ui() { return new Builder(); } }
Ui { public static Builder ui() { return new Builder(); }  }
Ui { public static Builder ui() { return new Builder(); }  static Builder ui(); }
Ui { public static Builder ui() { return new Builder(); }  static Builder ui();  }