@@ -337,18 +337,19 @@ public void groupMutations_WithStorageAtomicityAndBatchSizeLimit_ShouldGroupCorr
337337 }
338338
339339 @ Test
340- public void canBeGroupedTogether_WithEmptyCollection_ShouldReturnTrue ()
340+ public void canBeGroupedAltogether_WithEmptyCollection_ShouldReturnTrue ()
341341 throws ExecutionException {
342342 // Act
343- boolean result = grouper .canBeGroupedTogether (Collections .emptyList ());
343+ boolean result = grouper .canBeGroupedAltogether (Collections .emptyList ());
344344
345345 // Assert
346346 assertThat (result ).isTrue ();
347347 }
348348
349349 @ Test
350- public void canBeGroupedTogether_WithAllMutationsInSameGroupForRecordAtomicity_ShouldReturnTrue ()
351- throws ExecutionException {
350+ public void
351+ canBeGroupedAltogether_WithAllMutationsInSameGroupForRecordAtomicity_ShouldReturnTrue ()
352+ throws ExecutionException {
352353 // Arrange
353354 String namespace = "ns" ;
354355 String table = "table" ;
@@ -368,15 +369,15 @@ public void canBeGroupedTogether_WithAllMutationsInSameGroupForRecordAtomicity_S
368369 createMutation (namespace , table , partitionKey1 , Optional .of (clusteringKey1 ));
369370
370371 // Act
371- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
372+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
372373
373374 // Assert
374375 assertThat (result ).isTrue ();
375376 }
376377
377378 @ Test
378379 public void
379- canBeGroupedTogether_WithAllMutationsInSameGroupForPartitionAtomicity_ShouldReturnTrue ()
380+ canBeGroupedAltogether_WithAllMutationsInSameGroupForPartitionAtomicity_ShouldReturnTrue ()
380381 throws ExecutionException {
381382 // Arrange
382383 String namespace = "ns" ;
@@ -398,14 +399,14 @@ public void canBeGroupedTogether_WithAllMutationsInSameGroupForRecordAtomicity_S
398399 createMutation (namespace , table , partitionKey1 , Optional .of (clusteringKey2 ));
399400
400401 // Act
401- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
402+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
402403
403404 // Assert
404405 assertThat (result ).isTrue ();
405406 }
406407
407408 @ Test
408- public void canBeGroupedTogether_WithAllMutationsInSameGroupForTableAtomicity_ShouldReturnTrue ()
409+ public void canBeGroupedAltogether_WithAllMutationsInSameGroupForTableAtomicity_ShouldReturnTrue ()
409410 throws ExecutionException {
410411 // Arrange
411412 String namespace = "ns" ;
@@ -424,15 +425,15 @@ public void canBeGroupedTogether_WithAllMutationsInSameGroupForTableAtomicity_Sh
424425 Mutation mutation2 = createMutation (namespace , table , partitionKey2 , Optional .empty ());
425426
426427 // Act
427- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
428+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
428429
429430 // Assert
430431 assertThat (result ).isTrue ();
431432 }
432433
433434 @ Test
434435 public void
435- canBeGroupedTogether_WithAllMutationsInSameGroupForNamespaceAtomicity_ShouldReturnTrue ()
436+ canBeGroupedAltogether_WithAllMutationsInSameGroupForNamespaceAtomicity_ShouldReturnTrue ()
436437 throws ExecutionException {
437438 // Arrange
438439 String namespace = "ns" ;
@@ -452,15 +453,16 @@ public void canBeGroupedTogether_WithAllMutationsInSameGroupForTableAtomicity_Sh
452453 Mutation mutation2 = createMutation (namespace , table2 , partitionKey2 , Optional .empty ());
453454
454455 // Act
455- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
456+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
456457
457458 // Assert
458459 assertThat (result ).isTrue ();
459460 }
460461
461462 @ Test
462- public void canBeGroupedTogether_WithAllMutationsInSameGroupForStorageAtomicity_ShouldReturnTrue ()
463- throws ExecutionException {
463+ public void
464+ canBeGroupedAltogether_WithAllMutationsInSameGroupForStorageAtomicity_ShouldReturnTrue ()
465+ throws ExecutionException {
464466 // Arrange
465467 String namespace1 = "ns1" ;
466468 String namespace2 = "ns2" ;
@@ -482,14 +484,14 @@ public void canBeGroupedTogether_WithAllMutationsInSameGroupForStorageAtomicity_
482484 Mutation mutation2 = createMutation (namespace2 , table2 , partitionKey2 , Optional .empty ());
483485
484486 // Act
485- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
487+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
486488
487489 // Assert
488490 assertThat (result ).isTrue ();
489491 }
490492
491493 @ Test
492- public void canBeGroupedTogether_WithMutationsInDifferentGroups_ShouldReturnFalse ()
494+ public void canBeGroupedAltogether_WithMutationsInDifferentGroups_ShouldReturnFalse ()
493495 throws ExecutionException {
494496 // Arrange
495497 String namespace1 = "ns1" ;
@@ -518,15 +520,15 @@ public void canBeGroupedTogether_WithMutationsInDifferentGroups_ShouldReturnFals
518520 Mutation mutation2 = createMutation (namespace2 , table2 , partitionKey2 , Optional .empty ());
519521
520522 // Act
521- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
523+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
522524
523525 // Assert
524526 assertThat (result ).isFalse ();
525527 }
526528
527529 @ Test
528530 public void
529- canBeGroupedTogether_WithMutationsInDifferentTables_ShouldReturnFalseForTableAtomicity ()
531+ canBeGroupedAltogether_WithMutationsInDifferentTables_ShouldReturnFalseForTableAtomicity ()
530532 throws ExecutionException {
531533 // Arrange
532534 String namespace = "ns" ;
@@ -547,15 +549,15 @@ public void canBeGroupedTogether_WithMutationsInDifferentGroups_ShouldReturnFals
547549 Mutation mutation2 = createMutation (namespace , table2 , partitionKey2 , Optional .empty ());
548550
549551 // Act
550- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
552+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
551553
552554 // Assert
553555 assertThat (result ).isFalse ();
554556 }
555557
556558 @ Test
557559 public void
558- canBeGroupedTogether_WithMutationsInDifferentPartitions_ShouldReturnFalseForPartitionAtomicity ()
560+ canBeGroupedAltogether_WithMutationsInDifferentPartitions_ShouldReturnFalseForPartitionAtomicity ()
559561 throws ExecutionException {
560562 // Arrange
561563 String namespace = "ns" ;
@@ -575,14 +577,15 @@ public void canBeGroupedTogether_WithMutationsInDifferentGroups_ShouldReturnFals
575577 Mutation mutation2 = createMutation (namespace , table , partitionKey2 , Optional .empty ());
576578
577579 // Act
578- boolean result = grouper .canBeGroupedTogether (Arrays .asList (mutation1 , mutation2 ));
580+ boolean result = grouper .canBeGroupedAltogether (Arrays .asList (mutation1 , mutation2 ));
579581
580582 // Assert
581583 assertThat (result ).isFalse ();
582584 }
583585
584586 @ Test
585- public void canBeGroupedTogether_WithOverMaxCount_ShouldReturnFalse () throws ExecutionException {
587+ public void canBeGroupedAltogether_WithOverMaxCount_ShouldReturnFalse ()
588+ throws ExecutionException {
586589 // Arrange
587590 String namespace = "ns" ;
588591 String table = "table" ;
@@ -601,7 +604,7 @@ public void canBeGroupedTogether_WithOverMaxCount_ShouldReturnFalse() throws Exe
601604 }
602605
603606 // Act
604- boolean result = grouper .canBeGroupedTogether (mutations );
607+ boolean result = grouper .canBeGroupedAltogether (mutations );
605608
606609 // Assert
607610 assertThat (result ).isFalse ();
0 commit comments