### Question:
AttributeFactory implements QualityFactory { @Override public Quality create(Name name) { return new Attribute(new NumericValue(startValue), name); }  @Override Quality create(Name name);  }### Answer:
@Test public void attributesDoNotInfluenceEachOther() throws Exception { Attribute strength = (Attribute) factory.create(new Name("Strength")); Attribute stamina = (Attribute) factory.create(new Name("Stamina")); strength.changeValueTo(new NumericValue(2)); assertThat(stamina.hasValue(new NumericValue(1)), is(true)); }