Skip to content

Commit a065f65

Browse files
committed
Update StreamsTest.java
1 parent 8cee84b commit a065f65

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

  • microsphere-java-core/src/test/java/io/microsphere/lang/function

microsphere-java-core/src/test/java/io/microsphere/lang/function/StreamsTest.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
import static io.microsphere.collection.SetUtils.ofSet;
2929
import static io.microsphere.lang.function.Streams.filter;
3030
import static io.microsphere.lang.function.Streams.filterAll;
31+
import static io.microsphere.lang.function.Streams.filterAllList;
32+
import static io.microsphere.lang.function.Streams.filterAllSet;
3133
import static io.microsphere.lang.function.Streams.filterAny;
34+
import static io.microsphere.lang.function.Streams.filterAnyList;
35+
import static io.microsphere.lang.function.Streams.filterAnySet;
3236
import static io.microsphere.lang.function.Streams.filterFirst;
3337
import static io.microsphere.lang.function.Streams.filterList;
3438
import static io.microsphere.lang.function.Streams.filterSet;
@@ -125,13 +129,13 @@ public void testFilterAll() {
125129

126130
@Test
127131
public void testFilterAllList() {
128-
List<Integer> list = Streams.filterAllList(INTEGERS, EVEN_PREDICATE);
132+
List<Integer> list = filterAllList(INTEGERS, EVEN_PREDICATE);
129133
assertEquals(EVEN_LIST, list);
130134
}
131135

132136
@Test
133137
public void testFilterAllSet() {
134-
Set<Integer> set = Streams.filterAllSet(INTEGERS, EVEN_PREDICATE);
138+
Set<Integer> set = filterAllSet(INTEGERS, EVEN_PREDICATE);
135139
assertEquals(EVEN_SET, set);
136140
}
137141

@@ -146,13 +150,13 @@ public void testFilterAny() {
146150

147151
@Test
148152
public void testFilterAnyList() {
149-
List<Integer> list = Streams.filterAnyList(INTEGERS, EVEN_PREDICATE);
153+
List<Integer> list = filterAnyList(INTEGERS, EVEN_PREDICATE);
150154
assertEquals(EVEN_LIST, list);
151155
}
152156

153157
@Test
154158
public void testFilterAnySet() {
155-
Set<Integer> set = Streams.filterAnySet(INTEGERS, EVEN_PREDICATE);
159+
Set<Integer> set = filterAnySet(INTEGERS, EVEN_PREDICATE);
156160
assertEquals(EVEN_SET, set);
157161
}
158162

0 commit comments

Comments
 (0)