// This call generated the context.
cbCapture.getValue().onSuccess(service);
assertTrue(contextCapture.hasCaptured());
ExplorerContext ctxt = contextCapture.getValue();
assertEquals(service, ctxt.getService());
assertEquals(method, ctxt.getMethod());
assertTrue(ctxt.isMethodFormVisible());
assertFalse(ctxt.isEntryListVisible());
assertEquals(RootNavigationItem.ALL_VERSIONS, ctxt.getRootNavigationItem());
EasyMock.verify(serviceLoader, delegate, service);
}