diff --git a/src/test/java/org/cactoos/collection/JoinedTest.java b/src/test/java/org/cactoos/collection/JoinedTest.java index 9376b52612..ef7a07b0c1 100644 --- a/src/test/java/org/cactoos/collection/JoinedTest.java +++ b/src/test/java/org/cactoos/collection/JoinedTest.java @@ -23,7 +23,6 @@ */ package org.cactoos.collection; -import java.util.Collections; import org.cactoos.iterable.IterableOf; import org.cactoos.list.ListOf; import org.hamcrest.collection.IsCollectionWithSize; @@ -40,9 +39,6 @@ * @checkstyle JavadocMethodCheck (500 lines) * @checkstyle MagicNumber (500 line) * @checkstyle ClassDataAbstractionCouplingCheck (500 lines) - * @todo #898:15min Replace Collections.emptyList() with the {@link ListOf} - * That is because it is necessary to get rid of the static methods - * as much as possible */ @SuppressWarnings("PMD.TooManyMethods") public final class JoinedTest { @@ -78,7 +74,7 @@ public void sizeEmptyReturnZero() { new Assertion<>( "Size must be 0", new Joined( - Collections.emptyList() + new ListOf() ), new IsCollectionWithSize<>(new IsEqual<>(0)) ).affirm(); @@ -101,7 +97,7 @@ public void withoutItemsIsEmpty() { new Assertion<>( "Must be empty", new Joined( - Collections.emptyList() + new ListOf() ), new IsEmptyCollection<>() ).affirm();