public void NUIComponentApplicationConstructorWithNull() { tlog.Debug(tag, $"NUIComponentApplicationConstructorWithNull START"); var testingTarget = new NUIComponentApplication(null); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIComponentApplication>(testingTarget, "Should be an instance of NUIComponentApplication type."); testingTarget.Dispose(); tlog.Debug(tag, $"NUIComponentApplicationConstructorWithNull END (OK)"); }
public void NUIComponentApplicationConstructor() { tlog.Debug(tag, $"NUIComponentApplicationConstructor START"); IDictionary <Type, string> typeInfo = new Dictionary <Type, string>(); typeInfo.Add(typeof(Applications.ComponentBased.Common.FrameComponent), "FrameComponent"); typeInfo.Add(typeof(Applications.ComponentBased.Common.ServiceComponent), "ServiceComponent"); var testingTarget = new NUIComponentApplication(typeInfo); Assert.IsNotNull(testingTarget, "Should be not null."); Assert.IsInstanceOf <NUIComponentApplication>(testingTarget, "Should be an instance of NUIComponentApplication type."); testingTarget.Dispose(); tlog.Debug(tag, $"NUIComponentApplicationConstructor END (OK)"); }