JSInteropApiConverter { protected static ExpressionIdentifier getExpressionIdentifier(JSIExpressionIdentifierType source) { return new ExpressionIdentifier(source.getName(), FactMappingType.valueOf(source.getType())); } private  JSInteropApiConverter(); static ScenarioSimulationModel getScenarioSimulationModel(JSIScenarioSimulationModelType source);  }
@Test public void getExpressionIdentifier() { JSIExpressionIdentifierType jsiExpressionIdentifierTypeMock = mock(JSIExpressionIdentifierType.class); when(jsiExpressionIdentifierTypeMock.getType()).thenReturn(FactMappingType.OTHER.toString()); assertNotNull(JSInteropApiConverter.getExpressionIdentifier(jsiExpressionIdentifierTypeMock)); checkAllRequiredMethodsAreCalled(JSIExpressionIdentifierType.class, ExpressionIdentifier.class, jsiExpressionIdentifierTypeMock); }