@BeforeClass(groups = "fast") public void beforeMethod() throws Exception { super.beforeClass(); account = Mockito.mock(Account.class); Mockito.when( accountInternalApi.getAccountByRecordId( Mockito.anyLong(), Mockito.<InternalTenantContext>any())) .thenReturn(account); dateHelper = new EntitlementDateHelper(accountInternalApi, clock); clock.resetDeltaFromReality(); ; }
@BeforeClass(groups = "fast") protected void beforeClass() throws Exception { super.beforeClass(); bundleId = UUID.randomUUID(); }