main
 1using System.Reflection;
 2using developwithpassion.bdd.contexts;
 3using Gorilla.Commons.Testing;
 4
 5namespace MoMoney.Presentation.Winforms.Databinding
 6{
 7    [Concern(typeof (PropertyInspector<,>))]
 8    public class when_parsing_a_valie_expression_for_the_information_on_the_property :
 9        concerns_for<IPropertyInspector<IAnInterface, string>, PropertyInspector<IAnInterface, string>>
10    {
11        it should_return_the_correct_property_information = () => result.Name.should_be_equal_to("FirstName");
12
13        because b = () => { result = sut.inspect(s => s.FirstName); };
14
15        public override IPropertyInspector<IAnInterface, string> create_sut()
16        {
17            return new PropertyInspector<IAnInterface, string>();
18        }
19
20        static PropertyInfo result;
21    }
22
23    public class PropertyInspectorSpecs
24    {
25    }
26}