Exemple #1
0
        public RefreshDtoValidatorFixture()
        {
            Validator = new RefreshDtoValidator();

            Model = new RefreshDto
            {
                RefreshToken = "473ed8ba-2292-49e1-a930-5129a002e753"
            };
        }
Exemple #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
#pragma warning disable CS8625 // Cannot convert null literal to non-nullable reference type.
                    Model     = null;
                    Validator = null;
#pragma warning restore CS8625 // Cannot convert null literal to non-nullable reference type.
                }

                _disposed = true;
            }
        }