Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public void SetUp()
 {
     _object = new SampleTypeWithFields();
 }