public void WhenWrite_Exists() { var fileName = "fileName"; m_FileIo.WriteAllText(fileName, ""); Assert.True(m_FileIo.Exists(fileName)); }
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); }