public void WasErrorTestTrue() { Loging._instance = Log; repository.ReplayAll(); Log._StartLog(); Log._WriteLog("раз месага", true, true); Log._WriteLog("два месага", false, true); repository.VerifyAll(); Assert.AreEqual(true, Log._WasError()); }