public void GetListModel_WhenRepositoryIsNull_ThrowsArgumentNullException <TKey>(TKey defaultKey)
        {
            // Arrange & Act & Assert
            var exception = Assert.Throws <ArgumentNullException>(
                () => RepositoryExtensions.GetList <FakeModel, IEntity <TKey>, TKey>(null, x => x.Id.Equals(defaultKey))
                );

            Assert.Equal("repository", exception.ParamName);
        }