@Test
public void testGetWhenDeviceNotConnected() throws ExecutionException {

    when(m_ncm.isConnected(m_device)).thenReturn(false);
    try {
        m_deviceInterface.get(m_device, m_getRequest);
    } catch (IllegalStateException e) {
        assertTrue(e.getMessage().contains(DEVICE_NOT_CONNECTED_TEST_DEVICE));
    }
}