Esempio n. 1
0
        public void FromJsonString_Should_DeserializeJsonStringCorrectly_WithJsonSerializerOptions_WithoutIgnoreNullValues()
        {
            ClientGoodbyeEvent clientGoodbyeEvent = ClientGoodbyeEvent.FromJsonString(JsonString_WithJsonSerializerOptions_WithoutIgnoreNullValues, SerializationTests.JsonSerializerOptions_WithoutIgnoreNullValues);

            Assert.Equal(Example.EventId, clientGoodbyeEvent.EventId);
        }
Esempio n. 2
0
 public ClientGoodbyeEventTests(ITestOutputHelper output)
 {
     Output  = output;
     Example = new ClientGoodbyeEvent(eventId: Guid.ParseExact("fb3f146dc74e4c75a3e71e768b2e986f", "N"));
 }