public void WhenFileDoesntExistItWillFail()
        {
            var fileReader = new FileReader
            {
                FileFacade = new StubIFileFacade
                {
                    ExistsString = s => false
                }
            };

            TestExpectedException<InvalidOperationException>(
                () => fileReader.Read(FilePath),
                Resources.FileReaderFileNotFoundExceptionMessage);
        }
        public void Read()
        {
            var fileReader = new FileReader
            {
                FileFacade = new StubIFileFacade
                {
                    ExistsString = s => true,
                    OpenTextString = s => new StubStreamReader(s)
                    {
                        ReadToEnd01 = () => Contents
                    }
                }
            };

            var result = fileReader.Read(FilePath);

            Assert.AreEqual(result, Contents);
        }