Esempio n. 1
0
 public ConversationService(ILuisClient luisClient, IPhoneCallClient phoneCallClient)
 {
     this.luisClient      = luisClient;
     this.phoneCallClient = phoneCallClient;
 }
 public void Initialize()
 {
     this.luisClient          = Substitute.For <ILuisClient>();
     this.phoneCallClient     = Substitute.For <IPhoneCallClient>();
     this.conversationService = new ConversationService(luisClient, phoneCallClient);
 }