@Test
public void testLevelEnabled() {

    int maxLevel = this.policy.getMaximumDepth();
    assertTrue(this.policy.levelEnabled(maxLevel - 1));
    assertTrue(this.policy.levelEnabled(maxLevel));
    assertFalse(this.policy.levelEnabled(maxLevel + 1));
}