コード例 #1
0
        public void TryGetJsonObjectPropertyValueShouldFailGracefullyWhenAttributesTableWasNotCreatedHere()
        {
            var table = new AttributesTable {
                { "gasStation", new GasStation() }
            };

            Assert.That(!table.TryGetJsonObjectPropertyValue("gasStation", new JsonSerializerOptions(), out GasStation _));
        }