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