Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        public void Exists_False_Null()
        {
            var ulnReferenceDataService = new ULNReferenceDataService(null);

            ulnReferenceDataService.Exists(null).Should().BeFalse();
        }