@SuppressWarnings("NewApi") @Test public void testSerializeSize() { Size expectedValue = new Size(9, 5); mCoder.serialize(bundle(), randomKey(), expectedValue); assertEquals(expectedValue, bundle().getSize(randomKey())); }
@Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Size fieldValue) { state.putSize(key, fieldValue); }
SizeCoder extends BaseCoder<Size> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Size fieldValue) { state.putSize(key, fieldValue); } }
SizeCoder extends BaseCoder<Size> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Size fieldValue) { state.putSize(key, fieldValue); }  }
SizeCoder extends BaseCoder<Size> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Size fieldValue) { state.putSize(key, fieldValue); }  @Override void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Size fieldValue); }
SizeCoder extends BaseCoder<Size> { @Override public void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Size fieldValue) { state.putSize(key, fieldValue); }  @Override void serialize(@NonNull Bundle state, @NonNull String key, @NonNull Size fieldValue);  }