### Question:
ServicePolicy { public Boolean isPossessionFactorRequired() { return requirePossessionFactor; } ServicePolicy(int requiredFactors, boolean jailBreakProtectionEnabled);  ServicePolicy(boolean requireKnowledgeFactor, boolean requireInherenceFactor,
                         boolean requirePossessionFactor, boolean jailBreakProtectionEnabled);  ServicePolicy();  ServicePolicy(Integer requiredFactors, Boolean requireKnowledgeFactor, Boolean requireInherenceFactor,
                         Boolean requirePossessionFactor, Boolean jailBreakProtectionEnabled, List<Location> locations,
                         List<TimeFence> timeFences); Integer getRequiredFactors(); Boolean isKnowledgeFactorRequired(); Boolean isInherenceFactorRequired(); Boolean isPossessionFactorRequired(); void addLocations(List<Location> locations); List<Location> getLocations(); void addTimeFences(List<TimeFence> timeFences); List<TimeFence> getTimeFences(); Boolean isJailBreakProtectionEnabled(); @Override boolean equals(Object o); @Override String toString();  }### Answer:
@Test public void isPossessionFactorRequired() throws Exception { assertTrue(new ServicePolicy(false, false, true, false).isPossessionFactorRequired()); }