File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
src/test/java/com/jnape/palatable/lambda/internal/iteration Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ public void doesNotHaveNextIfMoreAsButNoBs() {
46
46
@ Test
47
47
public void doesNotHaveNextIfNoAsButMoreBs () {
48
48
when (as .hasNext ()).thenReturn (false );
49
- when (bs .hasNext ()).thenReturn (true );
50
49
51
50
assertThat (combinatorialIterator .hasNext (), is (false ));
52
51
}
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ public void hasNextIfMoreAsAndMoreBs() {
38
38
@ Test
39
39
public void doesNotHaveNextIfAsDoesNotHaveNext () {
40
40
when (as .hasNext ()).thenReturn (false );
41
- when (bs .hasNext ()).thenReturn (true );
42
41
assertThat (zippingIterator .hasNext (), is (false ));
43
42
}
44
43
@@ -51,9 +50,6 @@ public void doesNotHaveNextIfBsDoesNotHaveNext() {
51
50
52
51
@ Test
53
52
public void zipsNextElementFromAsAndBs () {
54
- when (as .hasNext ()).thenReturn (true );
55
- when (bs .hasNext ()).thenReturn (true );
56
-
57
53
when (as .next ()).thenReturn (1 );
58
54
when (bs .next ()).thenReturn (2 );
59
55
You can’t perform that action at this time.
0 commit comments