public void Works() { var binders = new ModelBinderDictionary(); IntegerModelBinder.Register(binders); Assert.AreEqual(14, binders.Count); Assert.IsTrue(binders.All(b => b.Value.GetType().Name == "IntegerModelBinder`1")); }