}
@Test
public void testVisibleWhenTargetPersistentAndHiddenFacetSetToUntilPersisted() {
testMember.addFacet(new HideForContextFacetNone(testMember));
testMember.addFacet(new HiddenFacetImpl(When.UNTIL_PERSISTED, Where.ANYWHERE, testMember));
final Consent visible = testMember.isVisible(null, persistentAdapter, Where.ANYWHERE);
assertTrue(visible.isAllowed());
}