<commit_before>﻿using System;
using System.IO;
using System.Text;
using JetBrains.Annotations;
using NUnit.Framework;
using FluentAssertions;

namespace SimulatableApi.StreamStore.Tests
{
	public class RealFileSystemCanLocateFilesAndDirs
	{
		[Test]
		public void CanCheckForExistence()
		{
			Assert.That(_testSubject.Directory(ArbitraryMissingFolder), Has.Property("Exists").False);
		}

		[Test]
		public void CannotGetContentsOfMissingFile()
		{
			FsFile testFile = _testSubject.TempDirectory.File("CreatedByTest.txt");
			_Throws<FileNotFoundException>(() => testFile.ReadAllText(), string.Format("Could not find file '{0}'.", testFile.FullPath.Absolute));<commit_msg>Moved the remaining tests into an appropriate folder for the MMF.<commit_after>﻿using System;
using System.IO;
using System.Text;
using JetBrains.Annotations;
using NUnit.Framework;
using FluentAssertions;

namespace SimulatableApi.StreamStore.Tests.FileSystemModification
{
	public class RealFileSystemCanLocateFilesAndDirs
	{
		[Test]
		public void CanCheckForExistence()
		{
			Assert.That(_testSubject.Directory(ArbitraryMissingFolder), Has.Property("Exists").False);
		}

		[Test]
		public void CannotGetContentsOfMissingFile()
		{
			FsFile testFile = _testSubject.TempDirectory.File("CreatedByTest.txt");
			_Throws<FileNotFoundException>(() => testFile.ReadAllText(), string.Format("Could not find file '{0}'.", testFile.FullPath.Absolute));
{'fraction_non_alphanumeric': 0.11103302881236823, 'fraction_numerical': 0.0014054813773717498, 'mean_word_length': 6.455497382198953, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3231832', 'n_tokens_mistral': 460, 'n_tokens_neox': 425, 'n_words': 85}