Ejemplo n.º 1
0
        public void WhenWrite_Exists()
        {
            var fileName = "fileName";

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

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