Beispiel #1
0
        public void BinaryWriteOnlyStorer_AddDataNull_ValidateNotNull()
        {
            var storer = new BinaryWriteOnlyStorer(false);

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

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