예제 #1
0
        public void CreateService_XmlLogFormat_ThrowsException()
        {
            void test() => LogServiceFactory.CreateService(LogFormat.Xml);

            Assert.Throws(typeof(NotImplementedException), test);
        }
예제 #2
0
        public void CreateService_TxtLogFormat_ReturnsNewService()
        {
            var txtService = LogServiceFactory.CreateService(LogFormat.Txt);

            Assert.That(txtService is TxtLogFormat, Is.True);
        }