### Question:
MethodAmountPolicy implements Policy { @Override public boolean getDenyRootedJailbroken() { return this.denyRootedJailbroken; } MethodAmountPolicy(boolean denyRootedJailbroken, boolean denyEmulatorSimulator, List<Fence> fences, int amountOfFactors);  MethodAmountPolicy(int amount); @Override boolean getDenyRootedJailbroken(); @Override boolean getDenyEmulatorSimulator(); @Override List<Fence> getFences(); int getAmount(); @Override boolean equals(Object o);  }### Answer:
@Test public void getDenyRootedJailbroken() throws Exception { assertTrue(new MethodAmountPolicy(true,false,null, 0).getDenyRootedJailbroken()); }