Ejemplo n.º 1
0
        public void ReceiptValidator_ThrowsOnInvalidKey()
        {
            var target = new ReceiptValidator();

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

            target.Validate("test", null);
        }
Ejemplo n.º 3
0
        public void ReceiptValidator_WorksCorrectly()
        {
            var target = new ReceiptValidator();

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