blob: 5646add7414c1261e4f2451de2dcf852d1e4ed21 [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2013 Boeing
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Boeing - initial API and implementation
**********************************************************************/
package org.eclipse.osee.ats.core.workflow.state;
import org.eclipse.osee.ats.api.workdef.StateType;
import org.junit.Assert;
import org.junit.Test;
/**
* Test Unit for {@link SimpleTeamState}
*
* @author Donald G. Dunne
*/
public class SimpleTeamStateTest {
@Test
public void testGetName() {
SimpleTeamState state = new SimpleTeamState("Analyze", StateType.Working);
Assert.assertEquals(StateType.Working, state.getStateType());
Assert.assertEquals("Analyze", state.getName());
}
}