Exemplo n.º 1
0
        public void Test_Writing_A_Tree_With_A_Null_BinaryWriter()
        {
            Action action = () => treeWriter.Write(null, new object(), Substitute.For <IDataNode>());

            action
            .Should()
            .ThrowArgumentNullException("binaryWriter");
        }