}
@Test
public void testVisibleWhenTargetTransientAndHiddenFacetSetToUntilPersisted() {
testMember.addFacet(new HideForContextFacetNone(testMember));
testMember.addFacet(new HiddenFacetImpl(When.UNTIL_PERSISTED, testMember));
final ObjectAdapter transientTestAdapter = system.createTransientTestObject();
assertFalse(testMember.isVisible(null, transientTestAdapter).isAllowed());
}