Mapping mapping = new Mapping();
mapping.setInternalName("method1");
assertEquals(mapping.getInternalName(), functionImport.getMapping().getInternalName());
ReturnType returnType = functionImport.getReturnType();
assertNotNull(returnType);
assertEquals(EdmMultiplicity.MANY, returnType.getMultiplicity());
List<FunctionImportParameter> funcImpList = functionImport.getParameters();
assertEquals(2, funcImpList.size());
assertEquals("Param1", funcImpList.get(0).getName());
assertEquals(EdmSimpleTypeKind.String, funcImpList.get(0).getType());