Ejemplo n.º 1
0
        public void DeserializeWarningTest()
        {
            CommandResultBase target = CreateCommandResultBase();
            ArrayList         values = new ArrayList();
            IBinaryReader     reader = new ArrayListReaderMock(values);

            values.Add("test warning text");

            target.DeserializeWarning(reader);

            CollectionAssert.AreEqual(target.Warnings, values);
        }