CurieUtilBuilder { public static CurieUtil just(Map<String, String> curies) { return new CurieUtil(ImmutableMap.copyOf(curies)); } private  CurieUtilBuilder(); static Map<String, String> defaultCurieMap(); static CurieUtil defaultCurieUtil(); static CurieUtil withDefaultsAnd(Map<String, String> additionalCuries); static CurieUtil just(Map<String, String> curies);  }
@Test void curieUtilWithUserSpecifiedMappingsOnly() { ImmutableMap<String, String> userDefinedCurieMap = ImmutableMap.of( "WIBBLE", "http: "FLUFFY", "http: ); CurieUtil instance = CurieUtilBuilder.just(userDefinedCurieMap); assertEquals(userDefinedCurieMap, instance.getCurieMap()); assertEquals(Optional.of("WIBBLE:0000001"), instance.getCurie("http: assertEquals(Optional.of("FLUFFY:0000001"), instance.getCurie("http: }