final Facet facet = facetedMethod.getFacet(DisabledFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof DisabledFacetAlwaysEverywhere);
final DisabledFacetAlwaysEverywhere disabledFacetAlways = (DisabledFacetAlwaysEverywhere) facet;
assertEquals(When.ALWAYS, disabledFacetAlways.when());
assertTrue(methodRemover.getRemovedMethodMethodCalls().contains(protectMethod));
}
public void testDoesNotInstallDisabledFacetUsingProtectWhenNotAndRemovesMethod() {