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

Method testClientPut

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

Source from the content-addressed store, hash-verified

79 }
80
81 @Test
82 public void testClientPut() throws IOException
83 {
84 dispatcher.registerResponse("PUT", "http://app/tasks/1").code(200).content("{ \"data\": { \"gid\": \"1\" }}");
85
86 assertEquals("1", client.tasks.update("1").execute().gid);
87 }
88
89 @Test
90 public void testClientDelete() throws IOException

Callers

nothing calls this directly

Calls 5

contentMethod · 0.80
codeMethod · 0.80
registerResponseMethod · 0.80
executeMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected