assertEquals(device.getGuid(), devices.get(0).getGuid());
assertEquals(device.getName(), devices.get(0).getName());
}).get(2, TimeUnit.SECONDS);
verify(requestHandler, times(1)).handle(argument.capture());
}
<BUG>@Test
public void should_save_and_find_by_device_status() throws Exception {</BUG>
final DeviceVO device = DeviceFixture.createDeviceVO();
String status = RandomStringUtils.randomAlphabetic(10);
device.setStatus(status);

assertEquals(device.getGuid(), devices.get(0).getGuid());
assertEquals(device.getName(), devices.get(0).getName());
}).get(2, TimeUnit.SECONDS);
verify(requestHandler, times(1)).handle(argument.capture());
}
@Test
@DirtiesContext(methodMode = DirtiesContext.MethodMode.BEFORE_METHOD)
public void should_save_and_find_by_device_status() throws Exception {
final DeviceVO device = DeviceFixture.createDeviceVO();
String status = RandomStringUtils.randomAlphabetic(10);
device.setStatus(status);
