@Test
public void testSaveProfileToFile() throws Exception {
ProfileDiskAction profileDiskAction = mock(ProfileDiskAction.class);
ProgressObserver callback = mock(ProgressObserver.class);
ProfileInstance profileInstance = new ProfileInstance(ProfileState.STOPPED);
profileInstance.setUuid("profileName");
when(profileContextLocator.getProfileInstance("profileName")).thenReturn(profileInstance);