public void should_be_able_to_define_a_custom_convention() { var registry = new BlueprintRegistry(); registry.OmitProperties(x => x.EndsWith("_Id"), typeof(string)); var construktion = new Construktion().AddRegistry(registry); var foo = construktion.Construct <Foo>(); foo.String_Id.ShouldBe(null); }