public void ShouldThrowIfNoTraceIsActive(
                string name,
                string value,
                [Frozen] IAWSXRayRecorder recorder,
                [Target] AwsXRayTracingService service
                )
            {
                Action func = () => service.AddMetadata(name, value);

                func.Should().Throw <InvalidOperationException>();
            }
            public void ShouldAddMetadata(
                string name,
                string value,
                [Frozen] IAWSXRayRecorder recorder,
                [Target] AwsXRayTracingService service
                )
            {
                service.StartTrace();
                service.AddMetadata(name, value);

                recorder.Received().AddMetadata(Is(name), Is(value));
            }