@Test
public void test_getIsAuditEnabled() {

	// null policy
	RangerPolicy policy = null;
	boolean result = _validator.getIsAuditEnabled(policy);
	Assert.assertFalse(result);
	// null isAuditEnabled Boolean is supposed to be TRUE!!
	policy = mock(RangerPolicy.class);
	when(policy.getIsAuditEnabled()).thenReturn(null);
	result = _validator.getIsAuditEnabled(policy);
	Assert.assertTrue(result);
	// non-null value
	when(policy.getIsAuditEnabled()).thenReturn(Boolean.FALSE);
	result = _validator.getIsAuditEnabled(policy);
	Assert.assertFalse(result);
	when(policy.getIsAuditEnabled()).thenReturn(Boolean.TRUE);
	result = _validator.getIsAuditEnabled(policy);
	Assert.assertTrue(result);
}