UCSClient { public Element exec(String command, String... args) { return exec(command, toMap(args)); }  void logout(); Token getToken(); void logDebug(String message, Element element); void logInfo(String message, Element element); List<Element> resolveClass(String classId, boolean inHierarchical); List<Element> resolveClass(String classId); Element resolveDn(String dn); Map<String, String> toMap(String... args); Element exec(String command, String... args); Element exec(String command, Map<String, String> args); String getUCSManagerId(); List<Element> resolveChildren(String dn, String classId);  }
@Test public void testDummyExchange() { mockServer.enqueue(new MockResponse().setBody("<foo response=\"yes\"> </foo>")); Element element = ucs.exec("foo", "fizz","buzz"); Assertions.assertThat(element.getName()).isEqualTo("foo"); Assertions.assertThat(element.getAttributeValue("response")).isEqualTo("yes"); }