@Test(description = "This test case tests retrieving profile", dependsOnMethods = "testAddProfile")
public void testGetProfile() throws Exception {

    Profile savedProfile = profileManager.getProfile(profile1.getProfileId());
    Assert.assertEquals(profile1.getProfileName(), savedProfile.getProfileName());
    Assert.assertEquals(profile1.getTenantId(), savedProfile.getTenantId());
    Assert.assertEquals(profile1.getDeviceType(), savedProfile.getDeviceType());
}