public void Constructor_Null_Parameters_But_HttpSettings_Returns_HttpEventPusher() { //Act var httpEventPusher = new HttpEventPusher <EffectiveAuthorizationEvent>(_httpClientSettings, null); //Assert Assert.IsInstanceOfType(httpEventPusher, typeof(HttpEventPusher <EffectiveAuthorizationEvent>)); }
public void Contructor_Right_Parameters_Returns_HttpEventPusher() { //Arrange Mock <IAuthenticationProvider> _authenticationProviderMock = new Mock <IAuthenticationProvider>(); //Act var httpEventPusher = new HttpEventPusher <EffectiveAuthorizationEvent>(_httpClientSettings, _authenticationProviderMock.Object); //Assert Assert.IsInstanceOfType(httpEventPusher, typeof(HttpEventPusher <EffectiveAuthorizationEvent>)); }