@Test public void always_returns_false() { NeverSpecification neverPropertySpecification = new NeverSpecification(); assertFalse(neverPropertySpecification.isSatisfiedBy("string")); assertFalse(neverPropertySpecification.isSatisfiedBy(10)); assertFalse(neverPropertySpecification.isSatisfiedBy(String.class.getConstructors()[0])); assertFalse(neverPropertySpecification.isSatisfiedBy(Date.class)); assertFalse(neverPropertySpecification.isSatisfiedBy(String.class)); assertFalse(neverPropertySpecification.isSatisfiedBy(Integer.class)); }
@Override public boolean isSatisfiedBy(Object request) { return false; }
NeverSpecification implements Specification { @Override public boolean isSatisfiedBy(Object request) { return false; } }
NeverSpecification implements Specification { @Override public boolean isSatisfiedBy(Object request) { return false; }  }
NeverSpecification implements Specification { @Override public boolean isSatisfiedBy(Object request) { return false; }  @Override boolean isSatisfiedBy(Object request); }
NeverSpecification implements Specification { @Override public boolean isSatisfiedBy(Object request) { return false; }  @Override boolean isSatisfiedBy(Object request);  }