Exemplo n.º 1
0
        public void BinaryWriteOnlyStorer_AddDataNull_ValidateNotNull()
        {
            var storer = new BinaryWriteOnlyStorer(false);

            AssertValidation.NotNull(
                () => storer.Add("File.data", null),
                "Data");
        }
Exemplo n.º 2
0
        public void BinaryWriteOnlyStorer_AddPathNull_ValidateNotNull()
        {
            var storer = new BinaryWriteOnlyStorer(false);

            AssertValidation.NotNull(
                () => storer.Add(null, 0, 0),
                "Path");
        }