예제 #1
0
        public void Should_not_create_invalid_set_field_command_when_destination_object_is_null()
        {
            SampleTypeWithFields @object = null;

            TestDelegate testAction = () => new SetFieldCommand(@object, "dummyField", "dummyValue");

            Assert.Throws <FluentBuilderException>(testAction);
        }
예제 #2
0
 public void SetUp()
 {
     _object = new SampleTypeWithFields();
 }