### Question:
BucketNotFulfilmentEventsService implements IBucketEventService<NotFulfilmentEventsData, BucketNotFulfilmentEventsData> { @Override public BucketNotFulfilmentEventsData addEventToCalculations(NotFulfilmentEventsData notFulfilmentEventsData, BucketNotFulfilmentEventsData bucketNotFulfilmentEventsData) { BucketNotFulfilmentEventsCalculator bucketCalculator = new BucketNotFulfilmentEventsCalculator(bucketNotFulfilmentEventsData); bucketCalculator.decayScores(bucketNotFulfilmentEventsData); addToBucket(notFulfilmentEventsData, bucketNotFulfilmentEventsData); bucketCalculator.setCurrentScoresForSpecificClient(notFulfilmentEventsData.getDebtAmount() < 0, notFulfilmentEventsData.getClientUserHash()); return bucketNotFulfilmentEventsData; }  @Override BucketNotFulfilmentEventsData addEventToCalculations(NotFulfilmentEventsData notFulfilmentEventsData, BucketNotFulfilmentEventsData bucketNotFulfilmentEventsData); @Override EventType getBucketEventType(); @Override double getBucketSumScore(BucketNotFulfilmentEventsData bucketNotFulfilmentEventsData); void init(RulesData rulesData);  }### Answer:
@Test public void addEventToCalculations() { NotFulfilmentEventsData notFulfilmentEventsData = new NotFulfilmentEventsData(buildBehaviorEventsDataRequest(CompensableEventScoreType.NON_FULFILMENT)); bucketNotFulfilmentEventsService.addEventToCalculations(notFulfilmentEventsData, bucketNotFulfilmentEventsData); double bucketSumScore = bucketNotFulfilmentEventsService.getBucketSumScore(bucketNotFulfilmentEventsData); Assert.assertTrue(bucketSumScore < 0); }