### Question:
AuthorizationResponsePolicy { @Override public String toString() { return "AuthorizationResponsePolicy{" + "requirement=" + requirement + ", amount=" + amount + ", fences=" + fences + ", inherenceRequired=" + inherenceRequired + ", knowledgeRequired=" + knowledgeRequired + ", possessionRequired=" + possessionRequired + '}'; } AuthorizationResponsePolicy(Requirement requirement, int amount, List<Fence> fences,
                                       boolean inherenceRequired, boolean knowledgeRequired,
                                       boolean possessionRequired); Requirement getRequirement(); int getAmount(); List<Fence> getFences(); boolean wasInherenceRequired(); boolean wasKnowledgeRequired(); boolean wasPossessionRequired(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToStringHasClassName() { assertThat(policy.toString(), startsWith(policy.getClass().getSimpleName())); }