snuyanzin commented on code in PR #19761:
URL: https://github.com/apache/flink/pull/19761#discussion_r876731993
##########
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java:
##########
@@ -412,7 +410,7 @@ public void testAnnotatePojoWithTable() {
final Class<? extends Pojo> annotatedPojoClass =
annotatePojoWithTable(KEYSPACE, tableName);
final Table pojoTableAnnotation =
annotatedPojoClass.getAnnotation(Table.class);
- assertTrue(pojoTableAnnotation.name().contains(tableName));
+ assertThat(pojoTableAnnotation.name().contains(tableName)).isTrue();
Review Comment:
```suggestion
assertThat(pojoTableAnnotation.name()).contains(tableName);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]