woothemes/woocommerce — pull request #6176 by maxrice (2014-09-05 18:38:28+00:00)
Title: MOAR unit tests

* Mock session handler
* 100% coverage for `wc-coupon-functions.php`
* 100% coverage for `wc-notice-functions.php`
* 100% coverage for `wc-formatting-functions.php`
* Webhook factory as a reference implementation for other classes that use a custom post type (coupons, orders, products)