public void GetShouldReturnNamedNLogLogger() { var expected = "somename"; NLogLoggerFactory tested = new NLogLoggerFactory(); ILog log = tested.GetLog(expected); var actual = log.Name; Assert.IsInstanceOfType(log, typeof(ILog)); Assert.IsInstanceOfType(log, typeof(NLog.Logger)); Assert.AreEqual(expected, actual); }