Ejemplo n.º 1
0
        public void Should_not_create_invalid_set_property_command_when_destination_object_is_null()
        {
            SampleTypeWithProperties @object = null;

            TestDelegate testAction = () => new SetPropertyCommand(@object, "dummyProperty", "dummyValue");

            Assert.Throws <FluentBuilderException>(testAction);
        }
Ejemplo n.º 2
0
 public void SetUp()
 {
     _object = new SampleTypeWithProperties();
 }