assertThat( path.getName( 1 ) ).isNotNull();
assertThat( path.getName( 1 ).toString() ).isEqualTo( "to" );
assertThat( path.getName( 2 ) ).isNotNull().isEqualTo( path.getFileName() );
assertThat( path.subpath( 0, 1 ) ).isNotNull();
assertThat( path.subpath( 0, 1 ).toString() ).isEqualTo( "path" );
assertThat( path.subpath( 1, 2 ) ).isNotNull();
assertThat( path.subpath( 1, 2 ).toString() ).isEqualTo( "to" );