Exemplo n.º 1
0
        public void ReadJson_Throws()
        {
            var converter = new IdConverter();

            Assert.Throws <NotSupportedException>(() => converter.ReadJson(
                                                      Arg.Any <JsonReader>(),
                                                      Arg.Any <Type>(),
                                                      Arg.Any <object>(),
                                                      Arg.Any <JsonSerializer>()));
        }