### Question:
ConditionalGeoFencePolicy implements Policy { public Policy getInside() { return this.inside; } ConditionalGeoFencePolicy(boolean denyRootedJailbroken, boolean denyEmulatorSimulator, List<Fence> fences, Policy inside, Policy outside); @Override boolean getDenyRootedJailbroken(); @Override boolean getDenyEmulatorSimulator(); @Override List<Fence> getFences(); Policy getInside(); Policy getOutside(); @Override boolean equals(Object o);  }### Answer:
@Test public void insideCanBeMethodAmountPolicy() throws Exception { Policy actual = new ConditionalGeoFencePolicy(false, false, null, new MethodAmountPolicy(0), new MethodAmountPolicy(0)).getInside(); assertThat(actual, instanceOf(MethodAmountPolicy.class)); }
@Test public void insideCanBeFactorsPolicy() throws Exception { Policy actual = new ConditionalGeoFencePolicy(false, false, null, new FactorsPolicy(false, false, false), new MethodAmountPolicy(0)).getInside(); assertThat(actual, instanceOf(FactorsPolicy.class)); }