@@ -57,7 +57,7 @@ public void Initialize()
5757 It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) ) ) ;
5858
5959 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
60- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) ) ;
60+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) ) ;
6161
6262 Config = ProjectConfig . Create (
6363 content : TestData . Datafile ,
@@ -499,7 +499,7 @@ public void TestTrackInvalidAttributes()
499499 public void TestTrackNoAttributesNoEventValue ( )
500500 {
501501 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
502- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
502+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
503503 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
504504 "POST" , new Dictionary < string , string > { } ) ) ;
505505
@@ -519,7 +519,7 @@ public void TestTrackNoAttributesNoEventValue()
519519 public void TestTrackWithAttributesNoEventValue ( )
520520 {
521521 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
522- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
522+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
523523 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
524524 "POST" , new Dictionary < string , string > { } ) ) ;
525525
@@ -537,7 +537,7 @@ public void TestTrackWithAttributesNoEventValue()
537537 public void TestTrackNoAttributesWithEventValue ( )
538538 {
539539 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
540- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
540+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
541541 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
542542 "POST" , new Dictionary < string , string > { } ) ) ;
543543
@@ -566,7 +566,7 @@ public void TestTrackWithAttributesWithEventValue()
566566 } ;
567567
568568 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
569- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
569+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
570570 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
571571 "POST" , new Dictionary < string , string > { } ) ) ;
572572
@@ -589,7 +589,7 @@ public void TestTrackWithAttributesWithEventValue()
589589 public void TestTrackWithNullAttributesWithNullEventValue ( )
590590 {
591591 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
592- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
592+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
593593 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
594594 "POST" , new Dictionary < string , string > { } ) ) ;
595595
@@ -652,7 +652,7 @@ public void TestInvalidDispatchImpressionEvent()
652652 public void TestInvalidDispatchConversionEvent ( )
653653 {
654654 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
655- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
655+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
656656 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
657657 "POST" , new Dictionary < string , string > { } ) ) ;
658658
@@ -676,7 +676,7 @@ public void TestInvalidDispatchConversionEvent()
676676 public void TestTrackNoAttributesWithInvalidEventValue ( )
677677 {
678678 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
679- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
679+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
680680 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
681681 "POST" , new Dictionary < string , string > { } ) ) ;
682682
@@ -697,7 +697,7 @@ public void TestTrackNoAttributesWithDeprecatedEventValue()
697697 * In this case, int value can't be casted implicitly into Dictionary */
698698
699699 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
700- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
700+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
701701 . Returns ( new LogEvent ( "logx.optimizely.com/track" , OptimizelyHelper . SingleParameter ,
702702 "POST" , new Dictionary < string , string > { } ) ) ;
703703
@@ -1036,7 +1036,7 @@ public void TestTrackNoAttributesNoEventValueAfterSetForcedVariation()
10361036 } ;
10371037
10381038 EventBuilderMock . Setup ( b => b . CreateConversionEvent ( It . IsAny < ProjectConfig > ( ) , It . IsAny < string > ( ) ,
1039- It . IsAny < IEnumerable < Experiment > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
1039+ It . IsAny < Dictionary < string , Variation > > ( ) , It . IsAny < string > ( ) , It . IsAny < UserAttributes > ( ) , It . IsAny < EventTags > ( ) ) )
10401040 . Returns ( new LogEvent ( "logx.optimizely.com/track" , parameters , "POST" , new Dictionary < string , string > { } ) ) ;
10411041
10421042 var optly = Helper . CreatePrivateOptimizely ( ) ;
0 commit comments