void () { MixedColorProducer producer = getTransparentRed(.999); Color color = producer.get(); producer.setMixer(.999); Assert.assertEquals(color, producer.get()); Assert.assertSame(color, producer.get()); producer.setMixer(.9999); Assert.assertEquals(color, producer.get()); Assert.assertNotSame(color, producer.get()); }