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

Method testClientGet

src/test/java/com/asana/RateLimitTest.java:17–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15public class RateLimitTest extends AsanaTest
16{
17 @Test
18 public void testClientGet() throws IOException
19 {
20 dispatcher.registerResponse("GET", "http://app/users/me").code(200).content("{ \"data\": { \"name\": \"me\" }}");
21
22 assertEquals("me", client.users.me().execute().name);
23 }
24
25 @Test
26 public void testRateLimiting() 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