assertThat( resolvedPath5 ).isEqualTo( path2 );
}
@Test(expected = IllegalArgumentException.class)
public void checkResolveNull() {
final FileSystemProvider fsprovider = mock( FileSystemProvider.class );
when( fsprovider.isDefault() ).thenReturn( true );
when( fsprovider.getScheme() ).thenReturn( "file" );
when( fs.provider() ).thenReturn( fsprovider );
when( fs.getSeparator() ).thenReturn( "/" );
final Path path = create( fs, "/path/to/", false );