Example #1
0
        public void should_have_username()
        {
            var username = "******";
            var trigger = new CodeModifiedTrigger(username);

            trigger.InvokedBy.ShouldBe(username);
        }
Example #2
0
 public void assure_code_modified_trigger_exists()
 {
     var username = "******";
     var trigger = new CodeModifiedTrigger(username);
     var abstractTrigger = trigger as Trigger;
     
     abstractTrigger.ShouldNotBeNull();
 }
Example #3
0
        public void Assure_Cause_is_set()
        {
            var trigger = new CodeModifiedTrigger("haldis");

            trigger.Cause.ShouldBe("Code Modified");
        }