### Question:
ImmutableQuality implements Quality { @Override public Type type() { return this.type; } 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 canRetrieveType() { assertThat(VALUE.type(),equalTo(TYPE)); }