public void Should_be_possible_to_create_file_item_from_a_path()
        {
            var unixFileItem = new UnixFileItemFactory().CreateFileItem("/etc/config/start.sh");

            AssertFileItemEntity(unixFileItem.filepath, "/etc/config/start.sh");
            AssertFileItemEntity(unixFileItem.path, "/etc/config/");
            AssertFileItemEntity(unixFileItem.filename, "start.sh");
        }
        public void Should_be_possible_to_create_file_item_from_a_path_without_filename_ie_a_directory_path()
        {
            var pathSample = "/etc/config/";
            var unixFileItem = new UnixFileItemFactory().CreateFileItem(pathSample);

            AssertFileItemEntity(unixFileItem.filepath, pathSample);
            AssertFileItemEntity(unixFileItem.path, pathSample);
            Assert.IsNull(unixFileItem.filename);
        }