Literal exp = ff.literal("wkt.properties");
wmfp.addToCachePublic(exp.evaluate(feature, String.class));
// Adds 2nd library to cache
exp = ff.literal("wkt2.properties");
wmfp.addToCachePublic(exp.evaluate(feature, String.class));
// Check "ls" has been loaded
assertEquals(wmfp.getFromCachePublic("wkt.properties", "ls"),
"LINESTRING(0.0 0.25, 0.25 0.25, 0.5 0.75, 0.75 0.25, 1.00 0.25)");