Beispiel #1
0
 public void GetAsyncIntegrationTypeFromParamCountZero()
 {
     Serverless.GetAsyncIntegrationTypeFromParamCount(0).Should().Be("Datadog.Trace.ClrProfiler.ServerlessInstrumentation.AWS.LambdaNoParamAsync");
 }
Beispiel #2
0
 public void GetVoidIntegrationTypeFromParamCountMoreThanExpected()
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => Serverless.GetAsyncIntegrationTypeFromParamCount(3));
 }