public void IsNotBase64_Invoke_ItemsEqual_ReturnsTrue()
        {
            //------------Setup for test--------------------------
            var endsWith = new IsNotBase64();

            string[] cols = new string[2];
            cols[0] = "aGVsbG8=";
            //------------Execute Test---------------------------
            bool result = endsWith.Invoke(cols);

            //------------Assert Results-------------------------
            Assert.IsFalse(result);
        }
Beispiel #2
0
        public void IsNotBase64_Invoke_NotEqualItems_ReturnsFalse()
        {
            //------------Setup for test--------------------------
            var endsWith = new IsNotBase64();
            var cols     = new string[2];

            cols[0] = "aGVsbG8ASS@";
            //------------Execute Test---------------------------
            var result = endsWith.Invoke(cols);

            //------------Assert Results-------------------------
            Assert.IsTrue(result);
        }
Beispiel #3
0
        public void IsNotBase64_Invoke_EmptyColumns_ReturnsFalse()
        {
            //------------Setup for test--------------------------
            var endsWith = new IsNotBase64();
            var cols     = new string[1];

            cols[0] = null;
            //------------Execute Test---------------------------
            var result = endsWith.Invoke(cols);

            //------------Assert Results-------------------------
            Assert.IsFalse(result);
        }