@Test(description = "This test case tests the get all devices method of the DeviceTypeManager", dependsOnMethods
        = {"testEnrollDevice"})

public void testGetAllDevices() throws DeviceManagementException {
    Assert.assertEquals(androidDeviceTypeManager.getAllDevices().size(), 1,
            "All the added devices are not fetched from the database");
    Assert.assertEquals(customDeviceTypeManager.getAllDevices().size(), 1,
            "All the added devices are not fetched from the database");
}