### Question:
MockitoAutoPropertySpecification implements Specification { @Override public boolean isSatisfiedBy(Object request) { if(!(request instanceof SpecimenType)) { return false; } SpecimenType<?> requestClass = (SpecimenType<?>)request; if(requestClass.getRawType().isInterface() || Modifier.isAbstract(requestClass.getRawType().getModifiers())) { return false; } String requestName = requestClass.getRawType().getName(); boolean isAMock = requestName.contains("Mockito"); return !isAMock; }  @Override boolean isSatisfiedBy(Object request);  }### Answer:
@Test public void returns_false_if_request_is_not_a_class() { assertFalse(this.specification.isSatisfiedBy("string")); }
@Test public void returns_false_if_request_is_interface_type() { assertFalse(this.specification.isSatisfiedBy(SpecimenType.of(List.class))); }
@Test public void returns_false_if_request_class_name_contains_mockito() { assertFalse(this.specification.isSatisfiedBy(SpecimenType.of(MockitoClass.class))); }