diff --git a/assertj-swing/pom.xml b/assertj-swing/pom.xml
index a1728aaf..a2098ec9 100644
--- a/assertj-swing/pom.xml
+++ b/assertj-swing/pom.xml
@@ -68,7 +68,7 @@
org.assertj
assertj-core
- 3.11.1
+ 3.17.0
diff --git a/assertj-swing/src/test/java/org/assertj/swing/keystroke/KeyStrokeMappingProviderNames_iterator_Test.java b/assertj-swing/src/test/java/org/assertj/swing/keystroke/KeyStrokeMappingProviderNames_iterator_Test.java
index 926c97db..0e33bfca 100644
--- a/assertj-swing/src/test/java/org/assertj/swing/keystroke/KeyStrokeMappingProviderNames_iterator_Test.java
+++ b/assertj-swing/src/test/java/org/assertj/swing/keystroke/KeyStrokeMappingProviderNames_iterator_Test.java
@@ -50,7 +50,7 @@ public void setUp() {
@Test
public void should_Return_Iterate_Through_All_Names() {
- assertThat(iterator).containsOnly("org.assertj.swing.keystroke.KeyStrokeMappingProvider_win_en_US",
+ assertThat(iterator).toIterable().containsOnly("org.assertj.swing.keystroke.KeyStrokeMappingProvider_win_en_US",
"org.assertj.swing.keystroke.KeyStrokeMappingProvider_win_en",
"org.assertj.swing.keystroke.KeyStrokeMappingProvider_en");
}