### Question:
MethodsMapper extends FunctionMapper { static Map<String, Method> getPublicStaticMethods(final Class<?> target) { final Map<String, Method> methods = new HashMap<>(); for (final Method method : target.getMethods()) { if (Modifier.isStatic(method.getModifiers())) { methods.put(method.getName(), method); } } return methods; } @VisibleForTesting  MethodsMapper(final Map<String, Method> methods); @Override Method resolveFunction(String prefix, String localName); static final MethodsMapper INSTANCE; }### Answer:
@Test public void shouldGetPublicMethods() { assertThat(getPublicStaticMethods(SampleClass.class)).hasSize(3) .containsKeys("asUri", "asLong", "asFoo"); }