title: how to test braintree webhooks with different notification types
body: <p>I want to test my webhook functionality with different notifications. Right now I am able to test it only for canceling subscriptions (by cancelling the subscription from the backend of braintree).</p>
  
  <pre><code>$webhookNotification = Braintree_WebhookNotification::parse($sampleNotification["bt_signature"], $sampleNotification["bt_payload"]);        
  </code></pre>
  
  <p>I have also tried <a href="https://www.braintreepayments.com/docs/php/webhooks/testing" rel="noreferrer">https://www.braintreepayments.com/docs/php/webhooks/testing</a>:</p>
  
  <pre><code>$sampleNotification = Braintree_WebhookTesting::sampleNotification(Braintree_WebhookNotification::SUBSCRIPTION_WENT_ACTIVE,'1234qwe');
  $webhookNotification = Braintree_WebhookNotification::parse($sampleNotification["bt_signature"], $sampleNotification["bt_payload"]);
  </code></pre>
  
  <p>But the result the API returns is not satisfactory. It always returns the same array for all notification types whether the subscription id exists or not.</p>