ImmutableValueState extends ImmutableState implements ValueState<V> { @Override public void clear() { throw MODIFICATION_ATTEMPT_ERROR; } private  ImmutableValueState(V value); @Override V value(); @Override void update(V newValue); @Override void clear(); static ImmutableValueState<V> createState(
			final ValueStateDescriptor<V> stateDescriptor,
			final byte[] serializedState);  }
@Test(expected = UnsupportedOperationException.class) public void testClear() { long value = valueState.value(); assertEquals(42L, value); valueState.clear(); }