Permalink
Browse files

add initial test class

  • Loading branch information...
1 parent c20e1be commit 50ac54ed5b707dcb05c193babef30e064a7c5b5d @iampersistent iampersistent committed Jan 23, 2013
Showing with 29 additions and 0 deletions.
  1. +17 −0 tests/Manager/BillingManagerTest.php
  2. +12 −0 tests/bootstrap.php
@@ -0,0 +1,17 @@
+<?php
+
+class BillingManagerTest extends \PHPUnit_Framework_TestCase
+{
+ public function test()
+ {
+ // track states in processing
+
+ /** current needs */
+ // get order
+ // create current bill
+ // create recurring bill
+ // get CC
+ // submit current bill to CC
+ // create licenses when CC is approved
+ }
+}
View
@@ -0,0 +1,12 @@
+<?php
+
+$loader = @include __DIR__ . '/../vendor/autoload.php';
+
+if (!$loader) {
+ die(<<<'EOT'
+You must set up the project dependencies, run the following commands:
+wget http://getcomposer.org/composer.phar
+php composer.phar install
+EOT
+ );
+}

0 comments on commit 50ac54e

Please sign in to comment.