public async Task Delete_UsePrimaryKey_Valid(CompositeUserEntity entity)
        {
            // Arrange
            var insertedEntity = _repository.Insert(entity);

            // Act
            var deleted = await _repository.DeleteAsync(new CompositeUserPrimaryKeyEntity { Username = entity.Username, Password = entity.Password });

            // Assert
            Assert.Equal(entity.Username, deleted?.Username);
            Assert.Equal(entity.Password, deleted?.Password);
            Assert.Equal(insertedEntity.DateCreated, deleted?.DateCreated);
        }
        public void Insert_RelyOnDefaultConstraint_Valid(CompositeUserEntity entity)
        {
            // Act
            var insertedEntity = _repository.Insert(entity);

            // Assert
            try
            {
                Assert.Equal(entity.Username, insertedEntity.Username);
                Assert.Equal(entity.Password, insertedEntity.Password);
                Assert.True(insertedEntity.DateCreated > DateTime.UtcNow.AddHours(-1));
            }
            finally
            {
                _repository.Delete(entity);
            }
        }