public void call_method_passing_reftype_on_static_generic_class()
        {
            //Arrange
            var getTracerParameters    = DefaultGetTracerImplementation();
            var finishTracerParameters = DefaultFinishTracerImplementation();

            //Act
            StaticGenericClass <DefaultClass> .DefaultMethod();

            //Assert
            ValidateTracers(getTracerParameters, finishTracerParameters, "DefaultMethod", "", null, new object[] { }, null, null, "NewRelic.Agent.Tests.ProfiledMethods.StaticGenericClass`1");
        }
        public void call_generic_method_passing_and_returning_reftype_on_static_generic_class()
        {
            //Arrange
            var getTracerParameters    = DefaultGetTracerImplementation();
            var finishTracerParameters = DefaultFinishTracerImplementation();
            var referenceTypeParameter = new DefaultClass();

            //Act
            StaticGenericClass <int> .GenericMethodThree <DefaultClass>(referenceTypeParameter);

            //Assert
            ValidateTracers(getTracerParameters, finishTracerParameters, "GenericMethodThree", "!!0", null, new object[] { referenceTypeParameter }, referenceTypeParameter, null, "NewRelic.Agent.Tests.ProfiledMethods.StaticGenericClass`1");
        }
        public void call_generic_method_passing_valuetype_on_static_generic_class()
        {
            //Arrange
            var getTracerParameters    = DefaultGetTracerImplementation();
            var finishTracerParameters = DefaultFinishTracerImplementation();
            var intParameter           = 10;

            //Act
            StaticGenericClass <String> .GenericMethod <int>(intParameter);

            //Assert
            ValidateTracers(getTracerParameters, finishTracerParameters, "GenericMethod", "!!0", null, new object[] { intParameter }, null, null, "NewRelic.Agent.Tests.ProfiledMethods.StaticGenericClass`1");
        }