@Test
public void testParcelable() {

  MlltFrame mlltFrameToParcel =
      new MlltFrame(
          /* mpegFramesBetweenReference= */ 1,
          /* bytesBetweenReference= */ 1,
          /* millisecondsBetweenReference= */ 1,
          /* bytesDeviations= */ new int[] {1, 2},
          /* millisecondsDeviations= */ new int[] {1, 2});
  Parcel parcel = Parcel.obtain();
  mlltFrameToParcel.writeToParcel(parcel, 0);
  parcel.setDataPosition(0);
  MlltFrame mlltFrameFromParcel = MlltFrame.CREATOR.createFromParcel(parcel);
  assertThat(mlltFrameFromParcel).isEqualTo(mlltFrameToParcel);
  parcel.recycle();
}