public void then_if_the_command_is_null_exception_is_thrown() { this._command = null; this.Execute(); var expected = "Precondition failed: command != null"; this._errorMessage.ShouldEqual(expected); }
protected override void Establish_context() { base.Establish_context(); this._command = new UpdateBlogCommand(Guid.NewGuid(), "Blog name", "www.url.com"); }