well, then also include this into the name of the test...


On Mon, Mar 25, 2013 at 12:43 PM, François Thillen <notifications@github.com
> wrote:

> In bridge/BridgeTests/TestJsonMarsahller.cs:
>
> > +            public String[] stringelements { get; set; }
> > +            public List<int> intelements { get; set; }
> > +        }
> > +        public class TestClass
> > +        {
> > +            public TestClass() { }
> > +
> > +            public string key { get; set; }
> > +            public int value { get; set; }
> > +            public Entry1[] elements { get; set; }
> > +        }
> > +        [TestMethod]
> > +        [ExpectedException(typeof(InvalidOperationException))]
> > +        public void TestInvalidSerialisation()
> > +        {
> > +            JsonConvert.SerializeObject(new Entry1(), new CustomJsonUnMarshaller());
>
> This is invalid because the CustomJsonUnMarshaller should newer serialize
> an object
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/openengsb/loom-csharp/pull/48/files#r3510089>
> .
>