public void HubInvocationCreatesGenericInstanceFromType(Type progressType)
        {
            // Arrange
            var sendProgressFunc = new Func <object, Task>(value => Task.FromResult(true));

            // Act
            var progress = HubInvocationProgress.Create(progressType, sendProgressFunc, logger: null);

            // Assert
            var expectedType = typeof(HubInvocationProgress <>).MakeGenericType(progressType);

            Assert.IsType(expectedType, progress);
        }