@@ -94,12 +94,12 @@ public void withoutProjections_ShouldFilterOutTransactionMetaColumns() {
9494
9595 // Act Assert
9696 assertThat (filteredResult .getPartitionKey ()).isPresent ();
97- assertThat (filteredResult .getPartitionKey ().get ().getColumns (). size ()).isEqualTo (1 );
97+ assertThat (filteredResult .getPartitionKey ().get ().size ()).isEqualTo (1 );
9898 assertThat (filteredResult .getPartitionKey ().get ().getColumns ().get (0 ))
9999 .isEqualTo (ACCOUNT_ID_VALUE );
100100
101101 assertThat (filteredResult .getClusteringKey ()).isPresent ();
102- assertThat (filteredResult .getClusteringKey ().get ().getColumns (). size ()).isEqualTo (1 );
102+ assertThat (filteredResult .getClusteringKey ().get ().size ()).isEqualTo (1 );
103103 assertThat (filteredResult .getClusteringKey ().get ().getColumns ().get (0 ))
104104 .isEqualTo (ACCOUNT_TYPE_VALUE );
105105
@@ -164,7 +164,7 @@ public void withoutProjectionsAndIncludeMetadataEnabled_ShouldContainAllColumns(
164164
165165 // Act Assert
166166 assertThat (filteredResult .getPartitionKey ()).isPresent ();
167- assertThat (filteredResult .getPartitionKey ().get ().getColumns (). size ()).isEqualTo (1 );
167+ assertThat (filteredResult .getPartitionKey ().get ().size ()).isEqualTo (1 );
168168 assertThat (filteredResult .getPartitionKey ().get ().getColumns ().get (0 ))
169169 .isEqualTo (ACCOUNT_ID_VALUE );
170170
@@ -316,7 +316,7 @@ public void withProjections_ShouldFilterOutUnprojectedColumnsAndTransactionMetaC
316316
317317 // Act Assert
318318 assertThat (filteredResult .getPartitionKey ()).isPresent ();
319- assertThat (filteredResult .getPartitionKey ().get ().getColumns (). size ()).isEqualTo (1 );
319+ assertThat (filteredResult .getPartitionKey ().get ().size ()).isEqualTo (1 );
320320 assertThat (filteredResult .getPartitionKey ().get ().getColumns ().get (0 ))
321321 .isEqualTo (ACCOUNT_ID_VALUE );
322322
@@ -384,7 +384,7 @@ public void withProjectionsAndIncludeMetadataEnabled_ShouldNotIncludeNonProjecte
384384
385385 // Act Assert
386386 assertThat (filteredResult .getPartitionKey ()).isPresent ();
387- assertThat (filteredResult .getPartitionKey ().get ().getColumns (). size ()).isEqualTo (1 );
387+ assertThat (filteredResult .getPartitionKey ().get ().size ()).isEqualTo (1 );
388388 assertThat (filteredResult .getPartitionKey ().get ().getColumns ().get (0 ))
389389 .isEqualTo (ACCOUNT_ID_VALUE );
390390
@@ -462,7 +462,7 @@ public void withProjectionsAndIncludeMetadataEnabled_ShouldNotIncludeNonProjecte
462462
463463 // Act Assert
464464 assertThat (filteredResult .getPartitionKey ()).isPresent ();
465- assertThat (filteredResult .getPartitionKey ().get ().getColumns (). size ()).isEqualTo (1 );
465+ assertThat (filteredResult .getPartitionKey ().get ().size ()).isEqualTo (1 );
466466 assertThat (filteredResult .getPartitionKey ().get ().getColumns ().get (0 ))
467467 .isEqualTo (ACCOUNT_ID_VALUE );
468468
@@ -524,7 +524,7 @@ public void withProjectionsAndIncludeMetadataEnabled_ShouldNotIncludeNonProjecte
524524 .isInstanceOf (IllegalStateException .class );
525525
526526 assertThat (filteredResult .getClusteringKey ()).isPresent ();
527- assertThat (filteredResult .getClusteringKey ().get ().getColumns (). size ()).isEqualTo (1 );
527+ assertThat (filteredResult .getClusteringKey ().get ().size ()).isEqualTo (1 );
528528 assertThat (filteredResult .getClusteringKey ().get ().getColumns ().get (0 ))
529529 .isEqualTo (ACCOUNT_TYPE_VALUE );
530530
0 commit comments