Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
Add simple test for ConfigurationAnnotation
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbjorn committed Nov 25, 2011
1 parent 49c4d6a commit ce1787d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Tests/Configuration/ConfigurationAnnotationTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Sensio\Bundle\FrameworkExtraBunde\Tests\Configuration;

class ConfigurationAnnotationTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException RuntimeException
*/
public function testUndefinedSetterThrowsException()
{
$this->getMockForAbstractClass('Sensio\Bundle\FrameworkExtraBundle\Configuration\ConfigurationAnnotation', array(
array(
'doesNotExists' => true,
),
));
}
}

0 comments on commit ce1787d

Please sign in to comment.