Refactoring.

This commit is contained in:
Menaka Jayawardena 2017-10-13 13:01:50 +05:30
parent f9a040d303
commit 1938ef77b9

View File

@ -109,7 +109,7 @@ public class DeviceTypeManagementServiceTest {
Mockito.when(this.deviceManagementProviderService.getAvailableDeviceTypes()).thenThrow(new
DeviceManagementException());
Response response = this.deviceTypeManagementService.getDeviceTypes("");
Response response = this.deviceTypeManagementService.getDeviceTypes(MODIFIED_SINCE);
Assert.assertNotNull(response);
Assert.assertEquals(response.getStatus(), Response.Status.INTERNAL_SERVER_ERROR.getStatusCode());
Mockito.reset(deviceManagementProviderService);