1 package org.openecomp.sdc.be.datatypes.enums;
5 public class ComponentFieldsEnumTest {
7 private ComponentFieldsEnum createTestSubject() {
8 return ComponentFieldsEnum.ADDITIONAL_INFORMATION;
12 public void testGetValue() throws Exception {
13 ComponentFieldsEnum testSubject;
17 testSubject = createTestSubject();
18 result = testSubject.getValue();
22 public void testFindByValue() throws Exception {
23 String value = "artifacts";
24 ComponentFieldsEnum result;
27 result = ComponentFieldsEnum.findByValue(value);
28 result = ComponentFieldsEnum.findByValue("");