final Method actionMethod = findMethod(Customer.class, "someAction");
facetFactory.process(new ProcessMethodContext(Customer.class, actionMethod, methodRemover, facetedMethod));
final Facet facet = facetedMethod.getFacet(HiddenFacet.class);
final HiddenFacetAbstract hiddenFacetAbstract = (HiddenFacetAbstract) facet;
assertEquals(org.apache.isis.core.metamodel.facets.When.UNTIL_PERSISTED, hiddenFacetAbstract.value());
}