Cleanup test usage of contains to be more explicit
package com.spotify.docker.client;
+import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
@@ -101,8 +102,7 @@ public class CompressedDirectoryTest {
final String name = entry.getName();
names.add(name);
}
- assertThat(names,
- containsInAnyOrder("emptySubDir/"));
+ assertThat(names, contains("emptySubDir/"));
}
}
