Class ShouldHaveFileSystem

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldHaveFileSystem
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies the FileSystem for a given path does not match a given file system.
    • Field Detail

      • PATH_SHOULD_HAVE_FILE_SYSTEM

        private static final java.lang.String PATH_SHOULD_HAVE_FILE_SYSTEM
        See Also:
        Constant Field Values
    • Constructor Detail

      • ShouldHaveFileSystem

        private ShouldHaveFileSystem​(java.nio.file.Path actual,
                                     java.nio.file.FileSystem expected)
    • Method Detail

      • shouldHaveFileSystem

        public static ErrorMessageFactory shouldHaveFileSystem​(java.nio.file.Path actual,
                                                               java.nio.file.FileSystem fileSystem)