public void WhenWrite_Exists()
        {
            var fileName = "fileName";

            m_FileIo.WriteAllText(fileName, "");
            Assert.True(m_FileIo.Exists(fileName));
        }
示例#2
0
        public SynchronizerBuilder WithSolutionText(string solutionText)
        {
            if (m_Synchronizer == null)
            {
                throw new BuilderError("You need to call Build() before calling this method.");
            }

            m_FileIoMock.WriteAllText(m_Synchronizer.SolutionFile(), solutionText);
            return(this);
        }