MCPcopy Create free account
hub / github.com/Asana/java-asana / testClientPost

Method testClientPost

src/test/java/com/asana/ClientTest.java:73–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 }
72
73 @Test
74 public void testClientPost() throws IOException
75 {
76 dispatcher.registerResponse("POST", "http://app/tasks").code(201).content("{ \"data\": { \"gid\": \"1\" }}");
77
78 assertEquals("1", client.tasks.create().execute().gid);
79 }
80
81 @Test
82 public void testClientPut() throws IOException

Callers

nothing calls this directly

Calls 5

contentMethod · 0.80
codeMethod · 0.80
registerResponseMethod · 0.80
executeMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected