public void Send_Cart_Event_Success()
        {
            //Arrange
            var fakeCart = _fakeObjects.GetCartEvent();

            //Act
            var result       = _triggmineApi.SendEvent(fakeCart);
            var resultAsync  = _triggmineApi.SendEventAsync(fakeCart);
            var staticResult = TriggmineApi.SendEvent(fakeCart, _apiKey, new Uri(_apiUrl));

            //Assert
            Assert.AreEqual(HttpStatusCode.Created, result.StatusCode);
            Assert.AreEqual(HttpStatusCode.Created, staticResult.StatusCode);
            Assert.AreEqual(HttpStatusCode.Created, resultAsync.Result.StatusCode);
        }
        public void Send_Plug_Diagnostic_Event_Success()
        {
            //Arrange
            var fakePlugDiagnostic = _fakeObjects.GetPluginDiagnosticEvent();

            //Act
            var result       = _triggmineApi.SendEvent(fakePlugDiagnostic);
            var resultAsync  = _triggmineApi.SendEventAsync(fakePlugDiagnostic);
            var staticResult = TriggmineApi.SendEvent(fakePlugDiagnostic, _apiKey, new Uri(_apiUrl));

            //Assert
            Assert.AreEqual(HttpStatusCode.Created, result.StatusCode);
            Assert.AreEqual(HttpStatusCode.Created, staticResult.StatusCode);
            Assert.AreEqual(HttpStatusCode.Created, resultAsync.Result.StatusCode);
        }