SingleDeviceRequest { Document getDocument() { return m_requestToBeProcessed; } SingleDeviceRequest(String deviceName, String deviceType, Document requestToBeProcessed); void setDeviceType(String deviceType); String getDeviceType(); @Override String toString();  }
@Test public void getDocumentTest() throws Exception { assertEquals(m_document, m_singleDeviceRequest.getDocument()); }