public void OnlineRepresentativesShouldMatchOptionsSource(IOptions <CsrInformationOptions> options) { var logger = new Mock <ILogger <CsrInformationService> >(); var service = new CsrInformationService(options, logger.Object); Assert.Equal(options.Value.OnlineRepresentatives, service.OnlineRepresentatives); }
public void CallCenterOnlineShouldBeTrue(IOptions <CsrInformationOptions> options) { var logger = new Mock <ILogger <CsrInformationService> >(); var service = new CsrInformationService(options, logger.Object); Assert.True(service.CallCenterOnline); }