Skip to content

Commit e93772a

Browse files
author
Grzegorz Piwowarek
committed
TDD
1 parent 5bfb12d commit e93772a

2 files changed

Lines changed: 78 additions & 1 deletion

File tree

‎core-java-8/pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@
6666
<dependency>
6767
<groupId>org.assertj</groupId>
6868
<artifactId>assertj-core</artifactId>
69-
<version>3.4.1</version>
69+
<version>3.5.1</version>
70+
<scope>test</scope>
7071
</dependency>
7172

7273
<dependency>
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
package com.baeldung.collectors;
2+
3+
import org.junit.Test;
4+
5+
public class Java8CollectorsTest {
6+
7+
@Test
8+
public void whenCollectingToList_shouldCollectToList() throws Exception {
9+
10+
}
11+
12+
@Test
13+
public void whenCollectingToList_shouldCollectToSet() throws Exception {
14+
15+
}
16+
17+
@Test
18+
public void whenCollectingToCollection_shouldCollectToCollection() throws Exception {
19+
20+
}
21+
22+
@Test
23+
public void whenCollectingToImmutableCollection_shouldThrowException() throws Exception {
24+
25+
}
26+
27+
@Test
28+
public void whenCollectingToMap_shouldCollectToMap() throws Exception {
29+
30+
}
31+
32+
@Test
33+
public void whenCollectingAndThen_shouldCollect() throws Exception {
34+
35+
}
36+
37+
@Test
38+
public void whenJoining_shouldJoin() throws Exception {
39+
40+
}
41+
42+
@Test
43+
public void whenPartitioningBy_shouldPartition() throws Exception {
44+
45+
}
46+
47+
@Test
48+
public void whenCounting_shouldCount() throws Exception {
49+
50+
}
51+
52+
@Test
53+
public void whenSummarizing_shouldSummarize() throws Exception {
54+
55+
}
56+
57+
@Test
58+
public void whenAveraging_shouldAverage() throws Exception {
59+
60+
}
61+
62+
@Test
63+
public void whenSumming_shouldSum() throws Exception {
64+
65+
}
66+
67+
@Test
68+
public void whenMaxingBy_shouldMaxBy() throws Exception {
69+
70+
}
71+
72+
@Test
73+
public void whenCreatingCustomCollector_shouldCollect() throws Exception {
74+
75+
}
76+
}

0 commit comments

Comments
 (0)