public void MockisAliveTest()
	    {
		    //define all mocked objects as final
            var mockController = GetMockController<ANetApiRequest, isAliveResponse>();
            var mockRequest = new ANetApiRequest
                {
                    merchantAuthentication = new merchantAuthenticationType() { name = "mocktest", Item = "mockKey", ItemElementName = ItemChoiceType.transactionKey },
                };
            var mockResponse = new isAliveResponse
                {
                    refId = "1234",
                    sessionToken = "sessiontoken",
                };

		    var errorResponse = new ANetApiResponse();
		    var results = new List<String>();
            const messageTypeEnum messageTypeOk = messageTypeEnum.Ok;

            SetMockControllerExpectations<ANetApiRequest, isAliveResponse, isAliveController>(
                mockController.MockObject, mockRequest, mockResponse, errorResponse, results, messageTypeOk);
            mockController.MockObject.Execute(AuthorizeNet.Environment.CUSTOM);
            //mockController.MockObject.Execute();
            // or var controllerResponse = mockController.MockObject.ExecuteWithApiResponse(AuthorizeNet.Environment.CUSTOM);
            var controllerResponse = mockController.MockObject.GetApiResponse();
            Assert.IsNotNull(controllerResponse);

		    //Assert.IsNotNull(controllerResponse.Yyyyy);
		    LogHelper.info(Logger, "isAlive: Details:{0}", controllerResponse);
	    }
 // Added this method because isAliveRequest take AnetApiRequest as argument.
 // AnetApiSchema.generated.cs - isAliveRequest is not the child class of AnetApiRequest class.
 public static void isAliveRequest(ANetApiRequest argument)
 {
     if (null != argument)
     {
     }
 }
 public static void ANetApiRequest(ANetApiRequest argument)
 {
     if (null != argument)
     {
         merchantAuthenticationType(argument.merchantAuthentication);
     }
 }
 public static void isAliveType(ANetApiRequest request) { }
 public static void ANetApiRequest ( ANetApiRequest request) { }