File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core-java-collections-list/src/test/java/com/baeldung/collection/filtering Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ private List<String> employeeNameFilter() {
2626 }
2727
2828 @ Test
29- public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_usingForEachLoop () {
29+ public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_usingForEachLoopUnitTest () {
3030 List <Employee > filteredList = new ArrayList <>();
3131 List <Employee > originalList = buildEmployeeList ();
3232 List <String > nameFilter = employeeNameFilter ();
@@ -44,7 +44,7 @@ public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_u
4444 }
4545
4646 @ Test
47- public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_usingLambda () {
47+ public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_usingLambdaUnitTest () {
4848 List <Employee > filteredList ;
4949 List <Employee > originalList = buildEmployeeList ();
5050 List <String > nameFilter = employeeNameFilter ();
@@ -57,7 +57,7 @@ public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_u
5757 }
5858
5959 @ Test
60- public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_usingLambdaAndHashSet () {
60+ public void givenEmployeeList_andNameFilterList_thenObtainFilteredEmployeeList_usingLambdaAndHashSetUnitTest () {
6161 List <Employee > filteredList ;
6262 List <Employee > originalList = buildEmployeeList ();
6363 Set <String > nameFilterSet = employeeNameFilter ().stream ()
You can’t perform that action at this time.
0 commit comments