@Test public void toStringEqualsTheReason() { assertThat(new Failed("some reason").toString()).isEqualTo("some reason"); }
@Override public String toString() { return reason; }
Failed { @Override public String toString() { return reason; } }
Failed { @Override public String toString() { return reason; } Failed(final String reason); }
Failed { @Override public String toString() { return reason; } Failed(final String reason); String getReason(); @Override String toString(); @Override boolean equals(final Object obj); @Override int hashCode(); }
Failed { @Override public String toString() { return reason; } Failed(final String reason); String getReason(); @Override String toString(); @Override boolean equals(final Object obj); @Override int hashCode();  }