public void Get_PrimaryKeyPartiallyNotEntered_Throws()
 {
     // Act && Assert
     Assert.Throws <ArgumentException>(() => _repository.Get(new CompositeUserPrimaryKeyEntity {
         Username = "******"
     }));
 }
        public async Task Get_UsePrimaryKey_Valid(CompositeUserEntity entity)
        {
            // Arrange
            var insertedEntity = _repository.Insert(entity);

            // Act
            var gotten = _repository.Get(new CompositeUserPrimaryKeyEntity {
                Username = entity.Username, Password = entity.Password
            });

            // Assert
            Assert.Equal(entity.Username, gotten?.Username);
            Assert.Equal(entity.Password, gotten?.Password);
            Assert.Equal(insertedEntity.DateCreated, gotten?.DateCreated);

            await _repository.DeleteAsync(insertedEntity);
        }