@Test
 public void testTransformFromDataNull() {
   assertThat(mSut.transform((DataStripe) null)).isNull();
 }
  @Test
  public void testTransformFromDataAllFieldsRegular() {
    final DataStripe source = new DataStripe();

    source.setAlt(generateString(Value.REGULAR));
    source.setDay(generateString(Value.REGULAR));
    source.setImg(generateString(Value.REGULAR));
    source.setLink(generateString(Value.REGULAR));
    source.setMonth(generateString(Value.REGULAR));
    source.setYear(generateString(Value.REGULAR));
    source.setNews(generateString(Value.REGULAR));
    source.setNum(generateLong(Value.REGULAR));
    source.setTitle(generateString(Value.REGULAR));
    source.setSafe_title(generateString(Value.REGULAR));
    source.setTranscript(generateString(Value.REGULAR));

    assertEquivalent(source, mSut.transform(source));
  }
 private void assertEquivalent(
     final @NonNull DataStripe dataStripe, final @NonNull DatabaseStripe databaseStripe) {
   assertThat(dataStripe.getAlt()).isEqualTo(databaseStripe.getAlt());
   assertThat(dataStripe.getDay()).isEqualTo(databaseStripe.getDay());
   assertThat(dataStripe.getImg()).isEqualTo(databaseStripe.getImg());
   assertThat(dataStripe.getLink()).isEqualTo(databaseStripe.getLink());
   assertThat(dataStripe.getMonth()).isEqualTo(databaseStripe.getMonth());
   assertThat(dataStripe.getYear()).isEqualTo(databaseStripe.getYear());
   assertThat(dataStripe.getNews()).isEqualTo(databaseStripe.getNews());
   assertThat(dataStripe.getNum()).isEqualTo(databaseStripe.getNum());
   assertThat(dataStripe.getTitle()).isEqualTo(databaseStripe.getTitle());
   assertThat(dataStripe.getSafe_title()).isEqualTo(databaseStripe.getSafe_title());
   assertThat(dataStripe.getTranscript()).isEqualTo(databaseStripe.getTranscript());
 }