Jednostkowe testowanie spoiwa modelu niestandardowego w ASP.NET MVC 2

Napisałem niestandardowy model spoiwa w projekcie, który używa ASP.NET MVC 2. Ten spoiwo modelu wiąże tylko 2 pola modelu:

public class TaskFormBinder : DefaultModelBinder
{
    protected override void BindProperty(ControllerContext controllerContext,
        ModelBindingContext bindingContext,
        PropertyDescriptor propertyDescriptor)
    {           
        if (propertyDescriptor.Name == "Type")
        {
            var value = bindingContext.ValueProvider.GetValue("Type");
            var typeId = value.ConvertTo(typeof(int));
            TaskType foundedType;
            using (var nhSession = Domain.GetSession())
            {
                foundedType = nhSession.Get<TaskType>(typeId);
            }
            if (foundedType != null)
            {
                SetProperty(controllerContext, bindingContext, propertyDescriptor, foundedType);
            }
            else
            {
                AddModelBindError(bindingContext, propertyDescriptor);
            }
            return;
        }
        if (propertyDescriptor.Name == "Priority")
        { /* Other field binding ... */
            return;
        }
        base.BindProperty(controllerContext, bindingContext, propertyDescriptor);
    }
}

Jak mogę przetestować ten model spoiwa za pomocą standardowego testowania jednostek VS? Spędziłem kilka godzin na Google, znajdź kilka przykładów (http://www.hanselman.com/blog/SplittingDateTimeUnitTestingASPNETMVCCustomModelBinders.aspx), ale te przykłady dotyczą MVC1 i nie działają przy użyciu MVC2.

Doceniam twoją pomoc.

questionAnswers(2)

yourAnswerToTheQuestion