public void BinderType_SettingBindingSource_OverridesDefaultCustomBindingSource() { // Arrange var attribute = new FromQueryModelBinderAttribute(); attribute.BinderType = typeof(ByteArrayModelBinder); // Act var source = attribute.BindingSource; // Assert Assert.Equal(BindingSource.Query, source); }