### Question:
AugmentingReflectiveChannelFactory extends ReflectiveChannelFactory<T> { @Override public T newChannel() { final T channel = super.newChannel(); channel.attr(this.attributeKey).set(this.attributeValue); return channel; } AugmentingReflectiveChannelFactory(final Class<? extends T> channelClass, final AttributeKey<A> attributeKey, final A attributeValue); @Override T newChannel();  }### Answer:
@Test void testNewChannel() { final AttributeKey<String> attributeKey = AttributeKey.valueOf(getClass(), "attributeKey"); final AugmentingReflectiveChannelFactory<LocalChannel, String> factory = new AugmentingReflectiveChannelFactory<>(LocalChannel.class, attributeKey, "Test!"); final LocalChannel channel = factory.newChannel(); assertTrue(channel.hasAttr(attributeKey), "Newly-created channels should have attribute provided to factory."); }