@Test public void should_not_be_expired_when_no_trial_period() { assertThat(customerData.isTrialPeriodExpired(now), is(false)); }
public boolean isTrialPeriodExpired(Instant now) { return trialPeriodEndsAt != null && trialPeriodEndsAt.isBefore(now); }
CustomerData { public boolean isTrialPeriodExpired(Instant now) { return trialPeriodEndsAt != null && trialPeriodEndsAt.isBefore(now); } }
CustomerData { public boolean isTrialPeriodExpired(Instant now) { return trialPeriodEndsAt != null && trialPeriodEndsAt.isBefore(now); }  }
CustomerData { public boolean isTrialPeriodExpired(Instant now) { return trialPeriodEndsAt != null && trialPeriodEndsAt.isBefore(now); }  boolean isTrialPeriodExpired(Instant now); String getDisplayName(); static CustomerData sample(); }
CustomerData { public boolean isTrialPeriodExpired(Instant now) { return trialPeriodEndsAt != null && trialPeriodEndsAt.isBefore(now); }  boolean isTrialPeriodExpired(Instant now); String getDisplayName(); static CustomerData sample();  }