### Question:
FunctionApp { public static JsonObject main(JsonObject args) { JsonObject response = new JsonObject(); response.add("response", args); return response; }  static JsonObject main(JsonObject args);  }### Answer:
@Test public void testFunction() { JsonObject args = new JsonObject(); args.addProperty("name", "test"); JsonObject response = FunctionApp.main(args); assertNotNull(response); String actual = response.get("response").getAsJsonObject().get("name").getAsString(); assertEquals("test", actual); }