public void Exists_False() { var referenceDataCacheMock = new Mock <IReferenceDataCache>(); referenceDataCacheMock.SetupGet(rdc => rdc.ULNs).Returns(new HashSet <long>() { 1, 2, 3 }); var ulnReferenceDataService = new ULNReferenceDataService(referenceDataCacheMock.Object); ulnReferenceDataService.Exists(4).Should().BeFalse(); }
public void Exists_False_Null() { var ulnReferenceDataService = new ULNReferenceDataService(null); ulnReferenceDataService.Exists(null).Should().BeFalse(); }