Delete method with a type mismatch.
This isn't called, so it seems easier to delete than to fix.
@@ -101,23 +101,7 @@ public class PathsSubject extends Subject {
.map(ZipEntry::getName)
.map(n -> n.replaceAll(PATH_NORMALIZER, "$1/$3"))
.collect(Collectors.toSet()))
- .containsAtLeastElementsIn(Arrays.asList(paths));
- }
-
- @SuppressWarnings("TruthIncompatibleType")
- void containsExactlyArchivedFilesIn(String... paths) throws IOException {
- if (actual == null) {
- failWithoutActual(simpleFact("expected not to be null"));
- }
- exists();
-
- assertThat(
- new ZipFile(actual.toFile())
- .stream()
- .map(ZipEntry::getName)
- .map(n -> n.replaceAll(PATH_NORMALIZER, "$1/$3"))
- .collect(Collectors.toSet()))
- .containsExactly(/* expected: String, actual: List<String> */ Arrays.asList(paths));
+ .containsAtLeastElementsIn(paths);
}
void containsNoArchivedFilesIn(String... paths) throws IOException {
