AggregatorRpcMessage extends NetconfRpcMessage { public boolean isNetworkManagerMessage() { try { return getOnlyOneTopXmlns().equals(NetworkManagerRpc.NAMESPACE); } catch (DispatchException ex) { return false; } } AggregatorRpcMessage(String request); NetconfRpcMessage getNetconfRpcMessage(); String getOnlyOneTopXmlns(); Document getOnlyOneTopPayload(); boolean isNetworkManagerMessage();  }
@Test public void isNetworkManagerMessage() throws Exception { assertFalse(aggregatorRpcMessage.isNetworkManagerMessage()); }