@Test public void rawValueCanBeUsedForConstruction() { assertThat(new AccuratePrice(1.583).asRawValue()).isEqualTo(1.583); assertThat(new AccuratePrice(-5.81).asRawValue()).isEqualTo(-5.81); }
public double asRawValue() { return rawPrice; }
AccuratePrice { public double asRawValue() { return rawPrice; } }
AccuratePrice { public double asRawValue() { return rawPrice; } AccuratePrice(final double rawPrice); }
AccuratePrice { public double asRawValue() { return rawPrice; } AccuratePrice(final double rawPrice); double asRawValue(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); }
AccuratePrice { public double asRawValue() { return rawPrice; } AccuratePrice(final double rawPrice); double asRawValue(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }