@Test
public void packageResponseTest() throws Exception {

    Map<Document, String> inputMap = new HashMap<>();
    inputMap.put(AggregatorMessage.stringToDocument(TEST_RPC_REPLY_MSG_A), TEST_DEVICE_NAME_A);
    inputMap.put(AggregatorMessage.stringToDocument(TEST_RPC_REPLY_MSG_B), TEST_DEVICE_NAME_B);
    String responses = m_aggregatorMessage.packageResponse(inputMap);
    assertFalse(responses.isEmpty());
    assertTrue(responses.contains(TEST_DEVICE_NAME_B));
}