public void It_should_return_userid_on_matched_fullname() { TestItem.CalculateAssignedUserId(_mapping.Identity.LeanKit, new Unfuddle.Ticket() { Assignee_Id = 1 }).ShouldEqual(101); }
public void It_should_return_null_on_empty_fullname() { TestItem.CalculateAssignedUserId(_mapping.Identity.LeanKit, new Unfuddle.Ticket() { Assignee_Id = 3 }).ShouldBeNull(); }
public void It_should_return_null_on_nonmatched_email() { TestItem.CalculateAssignedUserId(_mapping.Identity.LeanKit, new Unfuddle.Ticket() { Assignee_Id = 2 }).ShouldBeNull(); }
public void It_should_return_null_on_empty_username() { TestItem.CalculateAssignedUserId(_testBoard.Id, null).ShouldBeNull(); TestItem.CalculateAssignedUserId(_testBoard.Id, "").ShouldBeNull(); }