### Question:
DefaultAutoPropertySpecification implements Specification { @Override public boolean isSatisfiedBy(Object request) { return request instanceof Type && !typeBlackList.contains(request); }  @Override boolean isSatisfiedBy(Object request);  }### Answer:
@Test public void is_not_satisfied_by_non_class_requests() { assertFalse(this.defaultSpecification.isSatisfiedBy("string")); assertFalse(this.defaultSpecification.isSatisfiedBy(1)); assertFalse(this.defaultSpecification.isSatisfiedBy(String.class.getConstructors()[0])); }
@Test public void is_not_satisfied_by_date_class() { assertFalse(this.defaultSpecification.isSatisfiedBy(SpecimenType.of(Date.class))); }
@Test public void is_not_satisfied_by_calendar_class() { assertFalse(this.defaultSpecification.isSatisfiedBy(SpecimenType.of(Date.class))); }
@Test public void is_satisfied_by_class_requests() { assertTrue(this.defaultSpecification.isSatisfiedBy(SpecimenType.of(String.class))); assertTrue(this.defaultSpecification.isSatisfiedBy(SpecimenType.of(Integer.class))); assertTrue(this.defaultSpecification.isSatisfiedBy(SpecimenType.of(List.class))); }