@Test(description = "This test case tests adding new profile feature to a non existent profile",
      dependsOnMethods = "testAddProfileFeature",
      expectedExceptions = {FeatureManagementException.class})

public void testAddProfileFeatureThrowingFeatureManagementException() throws Exception {
    Profile profile = ProfileCreator.getProfile(FeatureCreator.getFeatureList(), DEVICE_TYPE_D);
    int nonExistentProfileId = 9999;
    ProfileFeature profileFeature = profile.getProfileFeaturesList().get(0);
    //Adding profile
    featureManager.addProfileFeature(profileFeature, nonExistentProfileId);
}