Program: 163535
Project: 163535
Buggy source:
@Test public void differentAgentsTest(){
  final String query="String_Node_Str";
{
    final AIConfiguration config=new AIConfiguration(getAccessToken(),getSubscriptionKey(),AIConfiguration.SupportedLanguages.English,AIConfiguration.RecognitionEngine.System);
    config.setWriteSoundLog(false);
    config.setExperimental(isExperimentalTest());
    final AIDataService aiDataService=new AIDataService(Robolectric.application,config);
    final AIRequest aiRequest=new AIRequest();
    aiRequest.setQuery(query);
    try {
      final AIResponse aiResponse=makeRequest(aiDataService,aiRequest);
      assertNotNull(aiResponse.getResult());
      assertEquals("String_Node_Str",aiResponse.getResult().getAction());
    }
 catch (    final AIServiceException e) {
      e.printStackTrace();
      assertTrue(e.getMessage(),false);
    }
  }
{
    final AIConfiguration secondConfig=new AIConfiguration(getSecondAccessToken(),getSubscriptionKey(),AIConfiguration.SupportedLanguages.English,AIConfiguration.RecognitionEngine.System);
    secondConfig.setWriteSoundLog(false);
    secondConfig.setExperimental(isExperimentalTest());
    final AIDataService aiDataService=new AIDataService(Robolectric.application,secondConfig);
    final AIRequest aiRequest=new AIRequest();
    aiRequest.setQuery(query);
    try {
      final AIResponse aiResponse=makeRequest(aiDataService,aiRequest);
      assertNotNull(aiResponse.getResult());
      assertTrue(TextUtils.isEmpty(aiResponse.getResult().getAction()));
    }
 catch (    final AIServiceException e) {
      e.printStackTrace();
      assertTrue(e.getMessage(),false);
    }
  }
}

Fixed version (ground truth):
@Test public void differentAgentsTest(){
  final String query="String_Node_Str";
{
    final AIConfiguration config=new AIConfiguration(getAccessToken(),getSubscriptionKey(),AIConfiguration.SupportedLanguages.English,AIConfiguration.RecognitionEngine.System);
    updateConfig(config);
    config.setWriteSoundLog(false);
    final AIDataService aiDataService=new AIDataService(Robolectric.application,config);
    final AIRequest aiRequest=new AIRequest();
    aiRequest.setQuery(query);
    try {
      final AIResponse aiResponse=makeRequest(aiDataService,aiRequest);
      assertNotNull(aiResponse.getResult());
      assertEquals("String_Node_Str",aiResponse.getResult().getAction());
    }
 catch (    final AIServiceException e) {
      e.printStackTrace();
      assertTrue(e.getMessage(),false);
    }
  }
{
    final AIConfiguration secondConfig=new AIConfiguration(getSecondAccessToken(),getSubscriptionKey(),AIConfiguration.SupportedLanguages.English,AIConfiguration.RecognitionEngine.System);
    updateConfig(secondConfig);
    secondConfig.setWriteSoundLog(false);
    final AIDataService aiDataService=new AIDataService(Robolectric.application,secondConfig);
    final AIRequest aiRequest=new AIRequest();
    aiRequest.setQuery(query);
    try {
      final AIResponse aiResponse=makeRequest(aiDataService,aiRequest);
      assertNotNull(aiResponse.getResult());
      assertTrue(TextUtils.isEmpty(aiResponse.getResult().getAction()));
    }
 catch (    final AIServiceException e) {
      e.printStackTrace();
      assertTrue(e.getMessage(),false);
    }
  }
}