### Question:
RuleBuilder implements IAuthRuleBuilder { @Override public IAuthRuleBuilderRule allow() { if (myAllow == null) { myAllow = allow(null); } return myAllow; } RuleBuilder(); @Override IAuthRuleBuilderRule allow(); @Override IAuthRuleBuilderRule allow(String theRuleName); @Override IAuthRuleBuilderRuleOpClassifierFinished allowAll(); @Override IAuthRuleBuilderRuleOpClassifierFinished allowAll(String theRuleName); @Override List<IAuthRule> build(); @Override IAuthRuleBuilderRule deny(); @Override IAuthRuleBuilderRule deny(String theRuleName); @Override IAuthRuleBuilderRuleOpClassifierFinished denyAll(); @Override IAuthRuleBuilderRuleOpClassifierFinished denyAll(String theRuleName);  }### Answer:
@Test public void testNullConditional() { IAuthRuleBuilder ruleBuilder = new RuleBuilder().allow().metadata().andThen(); IAuthRuleTester writeAccessTester = mock(IAuthRuleTester.class); ruleBuilder.allow().createConditional().resourcesOfType("anystring").withTester(writeAccessTester).andThen(); }