2020import static org .junit .jupiter .api .Assertions .assertEquals ;
2121import static org .junit .jupiter .api .Assertions .assertNotEquals ;
2222import static org .junit .jupiter .api .Assertions .assertThrows ;
23+ import static org .junit .jupiter .api .Assertions .assertTrue ;
2324
2425import java .io .IOException ;
2526import java .nio .file .Files ;
@@ -50,7 +51,7 @@ private boolean not(final boolean value) throws IOException {
5051 public void testAndThenIOFunction () throws IOException {
5152 final IOBiFunction <Path , LinkOption [], Boolean > isDirectory = Files ::isDirectory ;
5253 final IOFunction <Boolean , Boolean > not = this ::not ;
53- assertEquals ( true , isDirectory .apply (PathUtils .current (), PathUtils .EMPTY_LINK_OPTION_ARRAY ));
54+ assertTrue ( isDirectory .apply (PathUtils .current (), PathUtils .EMPTY_LINK_OPTION_ARRAY ));
5455 final IOBiFunction <Path , LinkOption [], Boolean > andThen = isDirectory .andThen (not );
5556 assertEquals (false , andThen .apply (PathUtils .current (), PathUtils .EMPTY_LINK_OPTION_ARRAY ));
5657 }
@@ -63,7 +64,7 @@ public void testAndThenIOFunction() throws IOException {
6364 @ Test
6465 public void testApply () throws IOException {
6566 final IOBiFunction <Path , LinkOption [], Boolean > isDirectory = Files ::isDirectory ;
66- assertEquals ( true , isDirectory .apply (PathUtils .current (), PathUtils .EMPTY_LINK_OPTION_ARRAY ));
67+ assertTrue ( isDirectory .apply (PathUtils .current (), PathUtils .EMPTY_LINK_OPTION_ARRAY ));
6768 }
6869
6970 /**
0 commit comments