Example #1
0
 public void GetSyncIntegrationTypeFromParamCountMoreThanExpected()
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => Serverless.GetSyncIntegrationTypeFromParamCount(3));
 }
Example #2
0
 public void GetSyncIntegrationTypeFromParamCountTwo()
 {
     Serverless.GetSyncIntegrationTypeFromParamCount(2).Should().Be("Datadog.Trace.ClrProfiler.ServerlessInstrumentation.AWS.LambdaTwoParamsSync");
 }