public void should_be_able_to_add_a_blueprint_using_the_typeof_operator()
 {
     var provider = new DefaultBlueprintProvider();
     provider.Add(typeof(AnObjectBlueprint));
     Assert.IsInstanceOf<AnObjectBlueprint>(provider.GetBlueprintFor<AnObject>());
 }
 public void should_raise_exception_if_trying_to_retrieve_a_blueprint_that_was_never_added()
 {
     var provider = new DefaultBlueprintProvider();
     Assert.Throws<Exception>(() => provider.GetBlueprintFor<AnObject>());
 }
 public void should_be_able_to_add_a_blueprint_using_generics()
 {
     var provider = new DefaultBlueprintProvider();
     provider.Add<AnObjectBlueprint>();
     Assert.IsInstanceOf<AnObjectBlueprint>(provider.GetBlueprintFor<AnObject>());
 }