Permalink
Browse files

add wiring test

  • Loading branch information...
1 parent 9c2c2bf commit 69a3176d6c5a291bd3db121e8aae9991bae97c85 @pmjones pmjones committed Jan 30, 2013
Showing with 24 additions and 0 deletions.
  1. +24 −0 tests/WiringTest.php
View
@@ -0,0 +1,24 @@
+<?php
+namespace Aura\Marshal;
+
+use Aura\Framework\Test\WiringAssertionsTrait;
+
+class WiringTest extends \PHPUnit_Framework_TestCase
+{
+ use WiringAssertionsTrait;
+
+ protected function setUp()
+ {
+ $this->loadDi();
+ }
+
+ public function testServices()
+ {
+ $this->assertGet('marshal_manager', 'Aura\Marshal\Manager');
+ }
+
+ public function testInstances()
+ {
+ $this->assertNewInstance('Aura\Marshal\Manager');
+ }
+}

0 comments on commit 69a3176

Please sign in to comment.