MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / answer

Method answer

test/TestMultiAction.java:1207–1211  ·  view source on GitHub ↗
(final InvocationOnMock invocation)

Source from the content-addressed store, hash-verified

1205 when(regionclient.isAlive()).thenReturn(true);
1206 doAnswer(new Answer() {
1207 public Object answer(final InvocationOnMock invocation) {
1208 get.getDeferred().callback(row);
1209 get2.getDeferred().callback(row2);
1210 return null;
1211 }
1212 }).when(regionclient).sendRpc(any(MultiAction.class));
1213
1214 List<GetResultOrException> result = client.get(gets).joinUninterruptibly();

Callers

nothing calls this directly

Calls 2

callbackMethod · 0.45
getDeferredMethod · 0.45

Tested by

no test coverage detected