public void Create_ForByteArray_ReturnsBinder()
    {
        // Arrange
        var provider = new ByteArrayModelBinderProvider();
        var context  = new TestModelBinderProviderContext(typeof(byte[]));

        // Act
        var result = provider.GetBinder(context);

        // Assert
        Assert.IsType <ByteArrayModelBinder>(result);
    }
    public void Create_ForNonByteArrayTypes_ReturnsNull(Type modelType)
    {
        // Arrange
        var provider = new ByteArrayModelBinderProvider();
        var context  = new TestModelBinderProviderContext(modelType);

        // Act
        var result = provider.GetBinder(context);

        // Assert
        Assert.Null(result);
    }