blob: a86651f879869e61e3a5022ab645798fc0a60bfd [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.workdef;
import org.eclipse.osee.ats.api.workdef.model.ReviewBlockType;
import org.junit.Assert;
import org.junit.Test;
/**
* Test case for {@link ReviewBlockType}
*
* @author Donald G. Dunne
*/
public class ReviewBlockTypeTest {
@Test
public void testValues() {
Assert.assertEquals(3, ReviewBlockType.values().length);
}
@Test
public void testValueOf() {
Assert.assertEquals(ReviewBlockType.Commit, ReviewBlockType.valueOf(ReviewBlockType.Commit.name()));
}
}