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