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

Method testClientGet

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

Source from the content-addressed store, hash-verified

22public class ClientTest extends AsanaTest
23{
24 @Test
25 public void testClientGet() throws IOException
26 {
27 dispatcher.registerResponse("GET", "http://app/users/me").code(200).content("{ \"data\": { \"name\": \"me\" }}");
28 assertEquals("me", client.users.me().execute().name);
29 }
30
31 @Test
32 public void testClientGetWithNonEnglishCharacters() throws IOException

Callers

nothing calls this directly

Calls 5

contentMethod · 0.80
codeMethod · 0.80
registerResponseMethod · 0.80
meMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected