@Test(description = "Testing getting installed applications of a device")
public void testGetInstalledApplications() {

    ApplicationManagementProviderService applicationManagementProviderService = Mockito
            .mock(ApplicationManagementProviderService.class, Mockito.RETURNS_MOCKS);
    PowerMockito.stub(PowerMockito.method(DeviceMgtAPIUtils.class, "getAppManagementService"))
            .toReturn(applicationManagementProviderService);
    Response response = this.deviceManagementService
            .getInstalledApplications(TEST_DEVICE_TYPE, UUID.randomUUID().toString(), "", 10, 5);
    Assert.assertEquals(response.getStatus(), Response.Status.OK.getStatusCode(),
            "Expects to return HTTP 200 when the application list is retrieved successfully.");
}