public void should_have_username() { var username = "******"; var trigger = new CodeModifiedTrigger(username); trigger.InvokedBy.ShouldBe(username); }
public void assure_code_modified_trigger_exists() { var username = "******"; var trigger = new CodeModifiedTrigger(username); var abstractTrigger = trigger as Trigger; abstractTrigger.ShouldNotBeNull(); }
public void Assure_Cause_is_set() { var trigger = new CodeModifiedTrigger("haldis"); trigger.Cause.ShouldBe("Code Modified"); }