PurgeNamespaceReason implements ShutdownReason { @Override public boolean isRelevantFor(final Object value) { return namespaceToPurge.equals(value); } private  PurgeNamespaceReason(final String namespaceToPurge); static PurgeNamespaceReason of(final CharSequence namespace); @Override ShutdownReasonType getType(); @Override boolean isRelevantFor(final Object value); @Override JsonObject toJson(); @Override JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> predicate); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }
@Test public void isRelevantForIsTrueIfNamespaceIsEqual() { assertThat(underTest.isRelevantFor(knownNamespace)).isTrue(); }
@Test public void isRelevantForIsFalseIfNamespaceIsNotEqual() { assertThat(underTest.isRelevantFor(knownNamespace + "X")).isFalse(); }