/*******************************************************************************
* Copyright 2006 - 2012 Vienna University of Technology,
* Department of Software Technology and Interactive Systems, IFS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package eu.scape_project.planning.plans;
public class PlanSettingsTest {
//
// PlanSettingsView planSettings;
//
// public PlanSettingsTest() {
// planSettings = new PlanSettingsView();
// }
//
// public void auth_correctpassordActivatesActions() {
// PreservationActionDefinition action1 = mock(PreservationActionDefinition.class);
// when(action1.getActionIdentifier()).thenReturn("unknown");
// PreservationActionDefinition action2 = mock(PreservationActionDefinition.class);
// when(action2.getActionIdentifier()).thenReturn("XXminimeeXX");
// PreservationActionDefinition action3 = mock(PreservationActionDefinition.class);
// when(action3.getActionIdentifier()).thenReturn("XXminimeeXX");
//
// Alternative alt1 = new Alternative();
// Alternative alt2 = new Alternative();
// Alternative alt3 = new Alternative();
// alt1.setAction(action1);
// alt2.setAction(action2);
// alt3.setAction(action3);
//
// List<Alternative> alternatives = new ArrayList<Alternative>();
//
// AlternativesDefinition altDef = new AlternativesDefinition();
// altDef.setAlternatives(alternatives);
//
// Plan plan = new Plan();
// plan.setAlternativesDefinition(altDef);
//
// FacesMessages facesMessages = mock(FacesMessages.class);
//
// planSettings.setPlan(plan);
// planSettings.setFacesMessages(facesMessages);
// planSettings.set
//
// planSettings.authenticate();
// }
}