public void ShouldReadFailed(
                CustomResourceResponseStatusConverter converter,
                JsonSerializerOptions options
                )
            {
                options.Converters.Add(converter);
                var result = JsonSerializer.Deserialize <CustomResourceResponseStatus>("\"Failed\"", options);

                result.Should().Be(CustomResourceResponseStatus.Failed);
            }
            public void ShouldThrowForEverythingElse(
                string randomString,
                CustomResourceResponseStatusConverter converter,
                JsonSerializerOptions options
                )
            {
                options.Converters.Add(converter);
                Action func = () => JsonSerializer.Deserialize <CustomResourceResponseStatus>($"\"{randomString}\"", options);

                func.Should().Throw <NotSupportedException>();
            }
            public void ShouldConvertFailedToUpper(
                CustomResourceResponseStatusConverter converter,
                JsonSerializerOptions options
                )
            {
                var success = CustomResourceResponseStatus.Failed;

                options.Converters.Add(converter);

                var result = JsonSerializer.Serialize(success, options);

                result.Should().Be("\"FAILED\"");
            }