public void JsonSerializationStrategy_SerializeShouldReturnAValidString()
        {
            var strategy = new JsonSerializationStrategy();

            var result = strategy.Serialize(new SerializableClass() { Bool = true, Int = 123, String = "345" });

            result.Should().Be("{\"Bool\":true,\"Int\":123,\"String\":\"345\"}");
        }
        public void JsonSerializationStrategy_DeserializeShouldReturnAValidObject()
        {
            var strategy = new JsonSerializationStrategy();

            var result = strategy.Deserialize("{\"Bool\":true,\"Int\":123,\"String\":\"345\"}", typeof(SerializableClass));

            result.Should().NotBeNull();
            result.Should().BeOfType(typeof(SerializableClass));
            (result as SerializableClass).Bool.Should().BeTrue();
            (result as SerializableClass).Int.Should().Be(123);
            (result as SerializableClass).String.Should().Be("345");
        }