public void WhenSearchingForCommunicationsByAnInvalidUser_TheResultShouldBeNull() { var lookup = new CommunicationsLookupByPerson(GetRequestTestsHelper.InValidPersonId); lookup.Find(); lookup.Succeeded().Should().BeFalse(); lookup.Result().Should().BeNull(); }
public void WhenSearchingForCommunicationsByAValidUser_TheResultShouldNotBeNull() { var personId = GetRequestTestsHelper.ValidPersonId; var lookup = new CommunicationsLookupByPerson(personId); lookup.Find(); lookup.Succeeded().Should().BeTrue(); lookup.Result().Should().NotBeNull(); }