@Test public void testSerializeIntObject() { Integer expectedValue = 9; mCoder.serialize(bundle(), randomKey(), expectedValue); assertEquals(expectedValue, (Integer) bundle().getInt(randomKey())); }
@Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Integer fieldValue) { state.putInt(key, fieldValue); }
IntCoder extends BaseCoder<Integer> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Integer fieldValue) { state.putInt(key, fieldValue); } }
IntCoder extends BaseCoder<Integer> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Integer fieldValue) { state.putInt(key, fieldValue); }  }
IntCoder extends BaseCoder<Integer> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Integer fieldValue) { state.putInt(key, fieldValue); }  @Override void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Integer fieldValue); }
IntCoder extends BaseCoder<Integer> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Integer fieldValue) { state.putInt(key, fieldValue); }  @Override void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Integer fieldValue);  }