Searched refs:checkStreamDoesNotConsumeElements (Results 1 – 1 of 1) sorted by relevance
186 checkStreamDoesNotConsumeElements(() -> Stream.of(1, 2, 3, 4), 4); in testNoEvaluationForSizedStream()187 checkStreamDoesNotConsumeElements(() -> Stream.of(1, 2, 3, 4).skip(1).limit(2).skip(1), 1); in testNoEvaluationForSizedStream()196 … private void checkStreamDoesNotConsumeElements(Supplier<Stream<?>> supplier, long expectedCount) { in checkStreamDoesNotConsumeElements() method in CountTest