SingleDeviceRequest { String getNamespace() { String namespace = NetconfMessageUtil.getParentXmlns(m_requestToBeProcessed); LOGGER.info("getNamespace: {}", namespace); return namespace; } SingleDeviceRequest(String deviceName, String deviceType, Document requestToBeProcessed); void setDeviceType(String deviceType); String getDeviceType(); @Override String toString();  }
@Test public void getNameSpaceTest() throws Exception { String namespace = m_singleDeviceRequest.getNamespace(); assertEquals(TEST_NS, namespace); }