public void GetAfterUnregisterReturnsNull() { _context.Unregister(new ContractIdentity(typeof(EmptyComponentAndContract), null)); var c = _context.GetComponent <EmptyComponentAndContract>(); Assert.IsNull(c); }