assertEquals(new HashSet<>(commandList), new HashSet<>(commands));
})
.get(2, TimeUnit.SECONDS);
verify(requestHandler, times(1)).handle(argument.capture());
}
<BUG>@Test
public void testFindCommand() throws Exception {</BUG>
final String guid = UUID.randomUUID().toString();
final long id = System.nanoTime();
final DeviceCommand command = new DeviceCommand();

assertEquals(new HashSet<>(commandList), new HashSet<>(commands));
})
.get(2, TimeUnit.SECONDS);
verify(requestHandler, times(1)).handle(argument.capture());
}
@Test
@DirtiesContext(methodMode = DirtiesContext.MethodMode.BEFORE_METHOD)
public void testFindCommand() throws Exception {
final String guid = UUID.randomUUID().toString();
final long id = System.nanoTime();
final DeviceCommand command = new DeviceCommand();
