public final void isNonZero() {
    if (actual == null) {
      failWithActual(simpleFact("expected a double other than zero"));
    } else if (actual.doubleValue() == 0.0) {
      failWithActual(simpleFact("expected not to be zero"));
    }
  }
@Test
  public void isNonZero() {
    assertThatIsNonZeroFails(0.0, "expected not to be zero");
    assertThatIsNonZeroFails(-0.0, "expected not to be zero");
    assertThat(Double.MIN_VALUE).isNonZero();
    assertThat(-1.23).isNonZero();
    assertThat(Double.POSITIVE_INFINITY).isNonZero();
    assertThat(Double.NaN).isNonZero();
    assertThatIsNonZeroFails(null, "expected a double other than zero");
  }