public void Register() { var registry = new UTinyRegistry(); var builtInCount = registry.Count; var type = registry.CreateType(UTinyId.New(), "TestType", UTinyTypeCode.Component); Assert.AreEqual(builtInCount + 1, registry.Count); registry.Register(type); Assert.AreEqual(builtInCount + 1, registry.Count); registry.Unregister(type); Assert.AreEqual(builtInCount, registry.Count); }