예제 #1
0
        public void ReceiptValidator_ThrowsOnInvalidKey()
        {
            var target = new ReceiptValidator();

            target.Validate("test", "Th!s$houldFa!l");
        }
예제 #2
0
        public void ReceiptValidator_ThrowsOnNullValue()
        {
            var target = new ReceiptValidator();

            target.Validate("test", null);
        }
예제 #3
0
        public void ReceiptValidator_WorksCorrectly()
        {
            var target = new ReceiptValidator();

            target.Validate("test", "yHKcl6eN0Gz9AXR22CAtslEVX8DxCc");  //Example receipt generated based on https://pushover.net/api#receipt
        }