use of eu.bcvsolutions.idm.core.api.domain.OperationState in project CzechIdMng by bcvsolutions.
the class ParameterConverterUnitTest method testEnumParameter.
@Test
public void testEnumParameter() {
Map<String, Object> parameters = new HashMap<>();
OperationState value = OperationState.CREATED;
parameters.put(PARAMETER_NAME, value.toString());
//
assertEquals(value, parameterConverter.toEnum(parameters, PARAMETER_NAME, OperationState.class));
}
Aggregations