public void Then_property_infos_should_have_correct_count() { PropertesWithAttribute.Count().ShouldBe(2); }
public void Then_property_infos_should_have_correct_count(bool inherit) { When_getting_properties_with_specific_attribute_for_type <SampleParent, MyAttribute>(inherit); PropertesWithAttribute.Count().ShouldBe(1); }