### Question:
B2LifecycleRule { public static Builder builder(String fileNamePrefix) { return new Builder(fileNamePrefix); } @B2Json.constructor(params = "fileNamePrefix, daysFromUploadingToHiding, daysFromHidingToDeleting") private  B2LifecycleRule(String fileNamePrefix,
                            Integer daysFromUploadingToHiding,
                            Integer daysFromHidingToDeleting); static Builder builder(String fileNamePrefix); String getFileNamePrefix(); Integer getDaysFromUploadingToHiding(); Integer getDaysFromHidingToDeleting(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testNullPrefixIsBad() { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("fileNamePrefix must not be null"); B2LifecycleRule .builder(null) .build(); }
@Test public void testNegativeDaysIsBad1() { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("daysFromUploadingToHiding must be positive"); B2LifecycleRule .builder(FILE_PREFIX) .setDaysFromUploadingToHiding(0) .build(); }
@Test public void testNegativeDaysIsBad2() { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("daysFromHidingToDeleting must be positive"); B2LifecycleRule .builder(FILE_PREFIX) .setDaysFromHidingToDeleting(0) .build(); }