public void SendTestCaseStarted(ScenarioInfo scenarioInfo)
        {
            var actualPickleId = _fieldValueProvider.GetTestCaseStartedPickleId(scenarioInfo);
            var nowDateAndTime = _fieldValueProvider.GetTestCaseStartedTime();

            var testCaseStartedMessageResult = _cucumberMessageFactory.BuildTestCaseStartedMessage(actualPickleId, nowDateAndTime);
            var wrapper = _cucumberMessageFactory.BuildWrapperMessage(testCaseStartedMessageResult);

            SendMessageOrThrowException(wrapper);
        }
        public void SendTestCaseStarted(ScenarioInfo scenarioInfo)
        {
            var actualPickleId = _fieldValueProvider.GetTestCaseStartedPickleId(scenarioInfo);
            var nowDateAndTime = _fieldValueProvider.GetTestCaseStartedTime();

            var platform = _platformFactory.BuildFromSystemInformation();

            var testCaseStartedMessageResult = _cucumberMessageFactory.BuildTestCaseStartedMessage(actualPickleId, nowDateAndTime, platform);
            var envelope = _cucumberMessageFactory.BuildEnvelopeMessage(testCaseStartedMessageResult);

            SendMessageOrThrowException(envelope);
        }