Class MockFreeSpaceProvider

    • Constructor Detail

      • MockFreeSpaceProvider

        public MockFreeSpaceProvider()
    • Method Detail

      • getBytesFree

        public long getBytesFree​(File f)
        Returns 1 TB of bytes as the number of bytes free on the file system that the given file resides on.
        Specified by:
        getBytesFree in interface FreeSpaceProvider
        Parameters:
        f - a given file
        Returns:
        1 TB of bytes free