use of org.killbill.clock.Clock in project killbill by killbill.
the class TestDefaultInvoiceGenerator method beforeClass.
@BeforeClass(groups = "fast")
protected void beforeClass() throws Exception {
if (hasFailed()) {
return;
}
super.beforeClass();
final Clock clock = new DefaultClock();
this.account = new MockAccountBuilder().name(UUID.randomUUID().toString().substring(1, 8)).firstNameLength(6).email(UUID.randomUUID().toString().substring(1, 8)).phone(UUID.randomUUID().toString().substring(1, 8)).migrated(false).externalKey(UUID.randomUUID().toString().substring(1, 8)).billingCycleDayLocal(31).currency(Currency.USD).paymentMethodId(UUID.randomUUID()).timeZone(DateTimeZone.UTC).build();
}
Aggregations