@Test
public void parcelEquals() {

  IcyInfo streamInfo =
      new IcyInfo("StreamName='name';StreamUrl='url'".getBytes(UTF_8), "name", "url");
  // Write to parcel.
  Parcel parcel = Parcel.obtain();
  streamInfo.writeToParcel(parcel, 0);
  // Create from parcel.
  parcel.setDataPosition(0);
  IcyInfo fromParcelStreamInfo = IcyInfo.CREATOR.createFromParcel(parcel);
  // Assert equals.
  assertThat(fromParcelStreamInfo).isEqualTo(streamInfo);
}