From e93772ae605aabfeb95efc86ad7c1ff465e8f433 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Wed, 13 Jul 2016 02:13:26 +0300 Subject: [PATCH] TDD --- core-java-8/pom.xml | 3 +- .../collectors/Java8CollectorsTest.java | 76 +++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 core-java-8/src/test/java/com/baeldung/collectors/Java8CollectorsTest.java diff --git a/core-java-8/pom.xml b/core-java-8/pom.xml index 8c9bb36f7d..63df0e1b95 100644 --- a/core-java-8/pom.xml +++ b/core-java-8/pom.xml @@ -66,7 +66,8 @@ org.assertj assertj-core - 3.4.1 + 3.5.1 + test diff --git a/core-java-8/src/test/java/com/baeldung/collectors/Java8CollectorsTest.java b/core-java-8/src/test/java/com/baeldung/collectors/Java8CollectorsTest.java new file mode 100644 index 0000000000..bfcdf27a9c --- /dev/null +++ b/core-java-8/src/test/java/com/baeldung/collectors/Java8CollectorsTest.java @@ -0,0 +1,76 @@ +package com.baeldung.collectors; + +import org.junit.Test; + +public class Java8CollectorsTest { + + @Test + public void whenCollectingToList_shouldCollectToList() throws Exception { + + } + + @Test + public void whenCollectingToList_shouldCollectToSet() throws Exception { + + } + + @Test + public void whenCollectingToCollection_shouldCollectToCollection() throws Exception { + + } + + @Test + public void whenCollectingToImmutableCollection_shouldThrowException() throws Exception { + + } + + @Test + public void whenCollectingToMap_shouldCollectToMap() throws Exception { + + } + + @Test + public void whenCollectingAndThen_shouldCollect() throws Exception { + + } + + @Test + public void whenJoining_shouldJoin() throws Exception { + + } + + @Test + public void whenPartitioningBy_shouldPartition() throws Exception { + + } + + @Test + public void whenCounting_shouldCount() throws Exception { + + } + + @Test + public void whenSummarizing_shouldSummarize() throws Exception { + + } + + @Test + public void whenAveraging_shouldAverage() throws Exception { + + } + + @Test + public void whenSumming_shouldSum() throws Exception { + + } + + @Test + public void whenMaxingBy_shouldMaxBy() throws Exception { + + } + + @Test + public void whenCreatingCustomCollector_shouldCollect() throws Exception { + + } +}