public override void Setup() { base.Setup(); this.adalServiceInfo = new AdalServiceInfo(); this.adalServiceInfo.CopyFrom(this.serviceInfo); this.authenticationProvider = new TestAdalAuthenticationByCodeAuthenticationProvider(this.adalServiceInfo, authenticationCode); this.authenticationContextWrapper = new MockAuthenticationContextWrapper(); this.authenticationProvider.authenticationContextWrapper = this.authenticationContextWrapper.Object; }