public void TypeRegistryConstructor() { tlog.Debug(tag, $"TypeRegistryConstructor START"); var testingTarget = new TypeRegistry(); Assert.IsNotNull(testingTarget, "Can't create success object TypeRegistry"); Assert.IsInstanceOf <TypeRegistry>(testingTarget, "Should return TypeRegistry instance."); testingTarget.Dispose(); tlog.Debug(tag, $"TypeRegistryConstructor END (OK)"); }
public void TypeRegistryAssign() { tlog.Debug(tag, $"TypeRegistryAssign START"); var testingTarget = new TypeRegistry(); Assert.IsNotNull(testingTarget, "Can't create success object TypeRegistry"); Assert.IsInstanceOf <TypeRegistry>(testingTarget, "Should return TypeRegistry instance."); using (TypeRegistry typeRegistry = TypeRegistry.Get()) { var result = testingTarget.Assign(typeRegistry); Assert.IsNotNull(result, "Can't create success object TypeRegistry"); Assert.IsInstanceOf <TypeRegistry>(result, "Should return TypeRegistry instance."); } testingTarget.Dispose(); tlog.Debug(tag, $"TypeRegistryAssign END (OK)"); }