### Question:
ImmutableQuality implements Quality { @Override public double weight() { return this.weight; } private  ImmutableQuality(double value, Type type); @Override Type type(); @Override double weight(); @Override int compareTo(Quality that); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }### Answer:
@Test public void canRetrieveWeight() { assertThat(VALUE.weight(),equalTo(WEIGHT)); }