File tree 2 files changed +4
-7
lines changed
main/java/com/examplehub/basics/collection
test/java/com/examplehub/basics/collection
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
package com .examplehub .basics .collection ;
2
2
3
- public class CollectionExample {
4
- }
3
+ public class CollectionExample {}
Original file line number Diff line number Diff line change 1
1
package com .examplehub .basics .collection ;
2
2
3
- import org .junit .jupiter .api .Test ;
3
+ import static org .junit .jupiter .api .Assertions .* ;
4
4
5
5
import java .util .ArrayList ;
6
6
import java .util .Arrays ;
7
7
import java .util .Collection ;
8
8
import java .util .Iterator ;
9
-
10
- import static org .junit .jupiter .api .Assertions .*;
9
+ import org .junit .jupiter .api .Test ;
11
10
12
11
class CollectionExampleTest {
13
12
@@ -134,7 +133,6 @@ void testRemoveUsingIterator() {
134
133
assertEquals ("[]" , collection .toString ());
135
134
}
136
135
137
-
138
136
@ Test
139
137
void testForEach () {
140
138
Collection <String > collection = new ArrayList <>();
@@ -148,4 +146,4 @@ void testForEach() {
148
146
assertEquals (count ++ + "" , item );
149
147
}
150
148
}
151
- }
149
+ }
You can’t perform that action at this time.
0 commit comments