public void ErrorLog() { LogFactory factory = ErrorLogFactory.GetFactory(); Log log = factory.CreateLog("Błąd!"); Assert.True(log.type == "ERROR"); }