Browse files

fixed trailing spaces

  • Loading branch information...
1 parent 4a5b2cc commit 28af5b6237631fc7d7378acd7a1b33c569e1769a @Rovak Rovak committed Aug 4, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/Zend/Code/Scanner/ClassScannerTest.php
View
12 tests/Zend/Code/Scanner/ClassScannerTest.php
@@ -17,18 +17,18 @@
class ClassScannerTest extends TestCase
{
protected $manager;
-
+
public function setUp()
{
$this->manager = new Annotation\AnnotationManager();
-
+
$genericParser = new Annotation\Parser\GenericAnnotationParser();
$genericParser->registerAnnotation('ZendTest\Code\Annotation\TestAsset\Foo');
$genericParser->registerAnnotation('ZendTest\Code\Annotation\TestAsset\Bar');
-
+
$this->manager->attach($genericParser);
}
-
+
public function testClassScannerHasClassInformation()
{
$file = new FileScanner(__DIR__ . '/../TestAsset/FooClass.php');
@@ -98,13 +98,13 @@ public function testClassScannerCanReturnLineNumbers()
$this->assertEquals(11, $class->getLineStart());
$this->assertEquals(34, $class->getLineEnd());
}
-
+
public function testClassScannerCanScanAnnotations()
{
$file = new FileScanner(__DIR__ . '/../Annotation/TestAsset/EntityWithAnnotations.php');
$class = $file->getClass('ZendTest\Code\Annotation\TestAsset\EntityWithAnnotations');
$annotations = $class->getAnnotations($this->manager);
-
+
$this->assertTrue($annotations->hasAnnotation('ZendTest\Code\Annotation\TestAsset\Foo'));
$this->assertTrue($annotations->hasAnnotation('ZendTest\Code\Annotation\TestAsset\Bar'));

0 comments on commit 28af5b6

Please sign in to comment.