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); }
public void SetUp() { _object = new SampleTypeWithFields(); }