public void When_binding_a_form_to_an_object_with_custom_registrations()
{
var binder = new Binder();
binder.AddRegistration(typeof(FluxCapacitor), "PopularityRanking");
var form = NeededObjectsFactory.CreateForm();
form.PopularityRanking.PopularityRanking = TestVariables.PopularityRanking;
var post = new Post();
binder.Bind(form, post);
Assert.That(post.Title, Is.EqualTo(TestVariables.Title));
Assert.That(post.Author, Is.EqualTo(TestVariables.Author));
Assert.That(post.Date, Is.EqualTo(TestVariables.Posted));
Assert.That(post.Body, Is.EqualTo(TestVariables.Body));
Assert.That(post.PopularityRanking, Is.EqualTo(TestVariables.PopularityRanking));
}