code: public Intent buildIntent(IntentFactoryStrategy parameters) {
          android.content.Intent intent = intentMockFactory.buildIntent(context, parameters.getTargetContext());
          intent.setFlags(parameters.getFlags());
          for (String category : parameters.getCategories()){
              intent.addCategory(category);
          }
  
          intent.putExtras(parameters.getExtras());
  
          return intent;
      }
docs: Build an Intent specified by the given input Strategy.
  
  @param parameters Strategy instance
  @return Intent