@Test
 public void testTransformFromDatabaseNull() {
   assertThat(mSut.transform((DatabaseStripe) null)).isNull();
 }
  @Test
  public void testTransformFromDatabaseAllFieldsRegular() {
    final DatabaseStripe source = new DatabaseStripe();

    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(mSut.transform(source), 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());
 }