Example #1
0
        public void GetLogger_PassAnyType_ReturnsNullLogger()
        {
            var logManager = new NullLogManager();
            var result     = logManager.GetLogger(GetType());

            Assert.IsInstanceOf <NullLog>(result);
        }
Example #2
0
        public void GetLogger_PassAnyName_ReturnsNullLogger()
        {
            var logManager = new NullLogManager();
            var result     = logManager.GetLogger("anyname");

            Assert.IsInstanceOf <NullLog>(result);
        }