KeyValue { public void setValue(final T_Value value) { this.value = value; } KeyValue(final T_Key key, final T_Value value);  KeyValue(final KeyValue<T_Key, T_Value> source); final T_Key getKey(); void setKey(final T_Key key); final T_Value getValue(); void setValue(final T_Value value); public T_Key key; public T_Value value; }
@Test public void testSetValue() { mKeyValue = new KeyValue<>(KEY, DOUBLE_VALUE_1); mKeyValue.setValue(DOUBLE_VALUE_2); assertEquals(DOUBLE_VALUE_2, mKeyValue.getValue(), 0); }