Fixed @expectedException definitions to reference absolute exception paths

This commit is contained in:
Bernhard Schussek 2013-01-05 18:52:40 +01:00
parent 31ff3db517
commit 184c8e586f
109 changed files with 322 additions and 322 deletions

View File

@ -70,7 +70,7 @@ class EntityChoiceListTest extends DoctrineOrmTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\FormException * @expectedException \Symfony\Component\Form\Exception\FormException
* @expectedMessage Entity "Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIdentEntity" passed to the choice field must have a "__toString()" method defined (or you can also override the "property" option). * @expectedMessage Entity "Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIdentEntity" passed to the choice field must have a "__toString()" method defined (or you can also override the "property" option).
*/ */
public function testEntitiesMustHaveAToStringMethod() public function testEntitiesMustHaveAToStringMethod()
@ -97,7 +97,7 @@ class EntityChoiceListTest extends DoctrineOrmTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\FormException * @expectedException \Symfony\Component\Form\Exception\FormException
*/ */
public function testChoicesMustBeManaged() public function testChoicesMustBeManaged()
{ {

View File

@ -111,7 +111,7 @@ class EntityTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException
*/ */
public function testClassOptionIsRequired() public function testClassOptionIsRequired()
{ {
@ -171,7 +171,7 @@ class EntityTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testConfigureQueryBuilderWithNonQueryBuilderAndNonClosure() public function testConfigureQueryBuilderWithNonQueryBuilderAndNonClosure()
{ {
@ -183,7 +183,7 @@ class EntityTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testConfigureQueryBuilderWithClosureReturningNonQueryBuilder() public function testConfigureQueryBuilderWithClosureReturningNonQueryBuilder()
{ {

View File

@ -96,7 +96,7 @@ class TranslationCollectionTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testNoArrayGiven() public function testNoArrayGiven()
{ {
@ -118,7 +118,7 @@ class TranslationCollectionTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException
*/ */
public function testNoDataClassAdded() public function testNoDataClassAdded()
{ {
@ -131,7 +131,7 @@ class TranslationCollectionTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException
*/ */
public function testNoLanguagesAdded() public function testNoLanguagesAdded()
{ {
@ -144,7 +144,7 @@ class TranslationCollectionTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException
*/ */
public function testNoColumnsAdded() public function testNoColumnsAdded()
{ {

View File

@ -60,7 +60,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testInvalidTypeTrustedProxies() public function testInvalidTypeTrustedProxies()
{ {
@ -70,7 +70,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testInvalidValueTrustedProxies() public function testInvalidValueTrustedProxies()
{ {

View File

@ -73,7 +73,7 @@ abstract class FrameworkExtensionTest extends TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testRouterRequiresResourceOption() public function testRouterRequiresResourceOption()
{ {
@ -211,7 +211,7 @@ abstract class FrameworkExtensionTest extends TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testTemplatingRequiresAtLeastOneEngine() public function testTemplatingRequiresAtLeastOneEngine()
{ {

View File

@ -34,7 +34,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase
); );
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testNoConfigForProvider() public function testNoConfigForProvider()
{ {
@ -50,7 +50,7 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testManyConfigForProvider() public function testManyConfigForProvider()
{ {

View File

@ -69,7 +69,7 @@ class TwigLoaderPassTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\DependencyInjection\Exception\LogicException * @expectedException \Symfony\Component\DependencyInjection\Exception\LogicException
*/ */
public function testMapperPassWithZeroTaggedLoaders() public function testMapperPassWithZeroTaggedLoaders()
{ {

View File

@ -57,7 +57,7 @@ class TemplateManagerTest extends TestCase
} }
/** /**
* @expectedException Symfony\Component\HttpKernel\Exception\NotFoundHttpException * @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/ */
public function testGetNameOfInvalidTemplate() public function testGetNameOfInvalidTemplate()
{ {

View File

@ -16,7 +16,7 @@ use Symfony\Component\Config\Definition\ArrayNode;
class ArrayNodeTest extends \PHPUnit_Framework_TestCase class ArrayNodeTest extends \PHPUnit_Framework_TestCase
{ {
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException
*/ */
public function testNormalizeThrowsExceptionWhenFalseIsNotAllowed() public function testNormalizeThrowsExceptionWhenFalseIsNotAllowed()
{ {

View File

@ -34,7 +34,7 @@ class BooleanNodeTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider getInvalidValues * @dataProvider getInvalidValues
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException
*/ */
public function testNormalizeThrowsExceptionOnInvalidValues($value) public function testNormalizeThrowsExceptionOnInvalidValues($value)
{ {

View File

@ -34,7 +34,7 @@ class ArrayNodeDefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidDefinitionException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidDefinitionException
* @dataProvider providePrototypeNodeSpecificCalls * @dataProvider providePrototypeNodeSpecificCalls
*/ */
public function testPrototypeNodeSpecificOption($method, $args) public function testPrototypeNodeSpecificOption($method, $args)
@ -57,7 +57,7 @@ class ArrayNodeDefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidDefinitionException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidDefinitionException
*/ */
public function testConcreteNodeSpecificOption() public function testConcreteNodeSpecificOption()
{ {
@ -67,7 +67,7 @@ class ArrayNodeDefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidDefinitionException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidDefinitionException
*/ */
public function testPrototypeNodesCantHaveADefaultValueWhenUsingDefaultChildren() public function testPrototypeNodesCantHaveADefaultValueWhenUsingDefaultChildren()
{ {

View File

@ -132,7 +132,7 @@ class ExprBuilderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testThenInvalid() public function testThenInvalid()
{ {

View File

@ -38,7 +38,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
* @expectedExceptionMessage The value 4 is too small for path "foo". Should be greater than: 5 * @expectedExceptionMessage The value 4 is too small for path "foo". Should be greater than: 5
*/ */
public function testIntegerMinAssertion() public function testIntegerMinAssertion()
@ -48,7 +48,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
* @expectedExceptionMessage The value 4 is too big for path "foo". Should be less than: 3 * @expectedExceptionMessage The value 4 is too big for path "foo". Should be less than: 3
*/ */
public function testIntegerMaxAssertion() public function testIntegerMaxAssertion()
@ -65,7 +65,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
* @expectedExceptionMessage The value 400 is too small for path "foo". Should be greater than: 500 * @expectedExceptionMessage The value 400 is too small for path "foo". Should be greater than: 500
*/ */
public function testFloatMinAssertion() public function testFloatMinAssertion()
@ -75,7 +75,7 @@ class NumericNodeDefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
* @expectedExceptionMessage The value 4.3 is too big for path "foo". Should be less than: 0.3 * @expectedExceptionMessage The value 4.3 is too big for path "foo". Should be less than: 0.3
*/ */
public function testFloatMaxAssertion() public function testFloatMaxAssertion()

View File

@ -30,7 +30,7 @@ class EnumNodeTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
* @expectedExceptionMessage The value "foobar" is not allowed for path "foo". Permissible values: "foo", "bar" * @expectedExceptionMessage The value "foobar" is not allowed for path "foo". Permissible values: "foo", "bar"
*/ */
public function testFinalizeWithInvalidValue() public function testFinalizeWithInvalidValue()

View File

@ -40,7 +40,7 @@ class FloatNodeTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider getInvalidValues * @dataProvider getInvalidValues
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException
*/ */
public function testNormalizeThrowsExceptionOnInvalidValues($value) public function testNormalizeThrowsExceptionOnInvalidValues($value)
{ {

View File

@ -35,7 +35,7 @@ class IntegerNodeTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider getInvalidValues * @dataProvider getInvalidValues
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException
*/ */
public function testNormalizeThrowsExceptionOnInvalidValues($value) public function testNormalizeThrowsExceptionOnInvalidValues($value)
{ {

View File

@ -16,7 +16,7 @@ use Symfony\Component\Config\Definition\Builder\TreeBuilder;
class MergeTest extends \PHPUnit_Framework_TestCase class MergeTest extends \PHPUnit_Framework_TestCase
{ {
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException * @expectedException \Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException
*/ */
public function testForbiddenOverwrite() public function testForbiddenOverwrite()
{ {
@ -92,7 +92,7 @@ class MergeTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
*/ */
public function testDoesNotAllowNewKeysInSubsequentConfigs() public function testDoesNotAllowNewKeysInSubsequentConfigs()
{ {

View File

@ -169,7 +169,7 @@ class NormalizerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
* @expectedExceptionMessage The attribute "id" must be set for path "root.thing". * @expectedExceptionMessage The attribute "id" must be set for path "root.thing".
*/ */
public function testNonAssociativeArrayThrowsExceptionIfAttributeNotSet() public function testNonAssociativeArrayThrowsExceptionIfAttributeNotSet()

View File

@ -41,7 +41,7 @@ class ScalarNodeTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider getInvalidValues * @dataProvider getInvalidValues
* @expectedException Symfony\Component\Config\Definition\Exception\InvalidTypeException * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException
*/ */
public function testNormalizeThrowsExceptionOnInvalidValues($value) public function testNormalizeThrowsExceptionOnInvalidValues($value)
{ {

View File

@ -69,7 +69,7 @@ class DelegatingLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Config\Exception\FileLoaderLoadException * @expectedException \Symfony\Component\Config\Exception\FileLoaderLoadException
*/ */
public function testLoadThrowsAnExceptionIfTheResourceCannotBeLoaded() public function testLoadThrowsAnExceptionIfTheResourceCannotBeLoaded()
{ {

View File

@ -37,7 +37,7 @@ class TokenizerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\CssSelector\Exception\ParseException * @expectedException \Symfony\Component\CssSelector\Exception\ParseException
*/ */
public function testTokenizeInvalidString() public function testTokenizeInvalidString()
{ {

View File

@ -31,7 +31,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPassTest extends \PHPUnit_Framewor
} }
/** /**
* @expectedException Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException * @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
*/ */
public function testProcessThrowsExceptionOnInvalidReference() public function testProcessThrowsExceptionOnInvalidReference()
{ {
@ -46,7 +46,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPassTest extends \PHPUnit_Framewor
} }
/** /**
* @expectedException Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException * @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
*/ */
public function testProcessThrowsExceptionOnInvalidReferenceFromInlinedDefinition() public function testProcessThrowsExceptionOnInvalidReferenceFromInlinedDefinition()
{ {

View File

@ -96,7 +96,7 @@ class DefinitionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\DependencyInjection\Exception\InvalidArgumentException * @expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
* @expectedExceptionMessage Method name cannot be empty. * @expectedExceptionMessage Method name cannot be empty.
*/ */
public function testExceptionOnEmptyMethodCall() public function testExceptionOnEmptyMethodCall()

View File

@ -89,7 +89,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testCopyFails() public function testCopyFails()
{ {
@ -207,7 +207,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testMkdirCreatesDirectoriesFails() public function testMkdirCreatesDirectoriesFails()
{ {
@ -229,7 +229,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testTouchFails() public function testTouchFails()
{ {
@ -518,7 +518,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testChownSymlinkFails() public function testChownSymlinkFails()
{ {
@ -535,7 +535,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testChownFail() public function testChownFail()
{ {
@ -584,7 +584,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testChgrpSymlinkFails() public function testChgrpSymlinkFails()
{ {
@ -601,7 +601,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testChgrpFail() public function testChgrpFail()
{ {
@ -626,7 +626,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testRenameThrowsExceptionIfTargetAlreadyExists() public function testRenameThrowsExceptionIfTargetAlreadyExists()
{ {
@ -640,7 +640,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Filesystem\Exception\IOException * @expectedException \Symfony\Component\Filesystem\Exception\IOException
*/ */
public function testRenameThrowsExceptionOnError() public function testRenameThrowsExceptionOnError()
{ {

View File

@ -82,7 +82,7 @@ class LazyChoiceListTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\FormException * @expectedException \Symfony\Component\Form\Exception\FormException
*/ */
public function testLoadChoiceListShouldReturnChoiceList() public function testLoadChoiceListShouldReturnChoiceList()
{ {

View File

@ -193,7 +193,7 @@ class ObjectChoiceListTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\FormException * @expectedException \Symfony\Component\Form\Exception\FormException
*/ */
public function testInitArrayThrowsExceptionIfToStringNotFound() public function testInitArrayThrowsExceptionIfToStringNotFound()
{ {

View File

@ -68,7 +68,7 @@ class ArrayToPartsTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testTransformRequiresArray() public function testTransformRequiresArray()
{ {
@ -123,7 +123,7 @@ class ArrayToPartsTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyNull() public function testReverseTransform_partiallyNull()
{ {
@ -140,7 +140,7 @@ class ArrayToPartsTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testReverseTransformRequiresArray() public function testReverseTransformRequiresArray()
{ {

View File

@ -67,7 +67,7 @@ class ChoiceToValueTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testReverseTransformExpectsScalar() public function testReverseTransformExpectsScalar()
{ {

View File

@ -45,7 +45,7 @@ class ChoicesToValuesTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testTransformExpectsArray() public function testTransformExpectsArray()
{ {
@ -67,7 +67,7 @@ class ChoicesToValuesTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testReverseTransformExpectsArray() public function testReverseTransformExpectsArray()
{ {

View File

@ -117,7 +117,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testTransformRequiresDateTime() public function testTransformRequiresDateTime()
{ {
@ -191,7 +191,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyEmpty_year() public function testReverseTransform_partiallyEmpty_year()
{ {
@ -206,7 +206,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyEmpty_month() public function testReverseTransform_partiallyEmpty_month()
{ {
@ -221,7 +221,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyEmpty_day() public function testReverseTransform_partiallyEmpty_day()
{ {
@ -236,7 +236,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyEmpty_hour() public function testReverseTransform_partiallyEmpty_hour()
{ {
@ -251,7 +251,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyEmpty_minute() public function testReverseTransform_partiallyEmpty_minute()
{ {
@ -266,7 +266,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyEmpty_second() public function testReverseTransform_partiallyEmpty_second()
{ {
@ -326,7 +326,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testReverseTransformRequiresArray() public function testReverseTransformRequiresArray()
{ {
@ -335,7 +335,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithNegativeYear() public function testReverseTransformWithNegativeYear()
{ {
@ -351,7 +351,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithNegativeMonth() public function testReverseTransformWithNegativeMonth()
{ {
@ -367,7 +367,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithNegativeDay() public function testReverseTransformWithNegativeDay()
{ {
@ -383,7 +383,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithNegativeHour() public function testReverseTransformWithNegativeHour()
{ {
@ -399,7 +399,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithNegativeMinute() public function testReverseTransformWithNegativeMinute()
{ {
@ -415,7 +415,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithNegativeSecond() public function testReverseTransformWithNegativeSecond()
{ {
@ -431,7 +431,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithInvalidMonth() public function testReverseTransformWithInvalidMonth()
{ {
@ -447,7 +447,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithInvalidDay() public function testReverseTransformWithInvalidDay()
{ {
@ -463,7 +463,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithStringDay() public function testReverseTransformWithStringDay()
{ {
@ -479,7 +479,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithStringMonth() public function testReverseTransformWithStringMonth()
{ {
@ -495,7 +495,7 @@ class DateTimeToArrayTransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithStringYear() public function testReverseTransformWithStringYear()
{ {

View File

@ -79,7 +79,7 @@ class DateTimeToRfc3339TransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testTransformRequiresValidDateTime() public function testTransformRequiresValidDateTime()
{ {
@ -102,7 +102,7 @@ class DateTimeToRfc3339TransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testReverseTransformRequiresString() public function testReverseTransformRequiresString()
{ {
@ -111,7 +111,7 @@ class DateTimeToRfc3339TransformerTest extends DateTimeTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformWithNonExistingDate() public function testReverseTransformWithNonExistingDate()
{ {

View File

@ -50,7 +50,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testReverseTransformExpectsString() public function testReverseTransformExpectsString()
{ {
@ -60,7 +60,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformExpectsValidNumber() public function testReverseTransformExpectsValidNumber()
{ {
@ -70,7 +70,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformDisallowsNaN() public function testReverseTransformDisallowsNaN()
{ {
@ -80,7 +80,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformDisallowsNaN2() public function testReverseTransformDisallowsNaN2()
{ {
@ -90,7 +90,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformDisallowsInfinity() public function testReverseTransformDisallowsInfinity()
{ {
@ -100,7 +100,7 @@ class IntegerToLocalizedStringTransformerTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransformDisallowsNegativeInfinity() public function testReverseTransformDisallowsNegativeInfinity()
{ {

View File

@ -83,7 +83,7 @@ class ValueToDuplicatesTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_partiallyNull() public function testReverseTransform_partiallyNull()
{ {
@ -97,7 +97,7 @@ class ValueToDuplicatesTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\TransformationFailedException * @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
*/ */
public function testReverseTransform_differences() public function testReverseTransform_differences()
{ {
@ -111,7 +111,7 @@ class ValueToDuplicatesTransformerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testReverseTransformRequiresArray() public function testReverseTransformRequiresArray()
{ {

View File

@ -196,7 +196,7 @@ abstract class MergeCollectionListenerTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider getBooleanMatrix2 * @dataProvider getBooleanMatrix2
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testRequireArrayOrTraversable($allowAdd, $allowDelete) public function testRequireArrayOrTraversable($allowAdd, $allowDelete)
{ {

View File

@ -79,7 +79,7 @@ class ChoiceTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testChoiceListOptionExpectsChoiceListInterface() public function testChoiceListOptionExpectsChoiceListInterface()
{ {
@ -89,7 +89,7 @@ class ChoiceTypeTest extends TypeTestCase
} }
/** /**
* expectedException Symfony\Component\Form\Exception\FormException * expectedException \Symfony\Component\Form\Exception\FormException
*/ */
public function testEitherChoiceListOrChoicesMustBeSet() public function testEitherChoiceListOrChoicesMustBeSet()
{ {

View File

@ -24,7 +24,7 @@ class DateTypeTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testInvalidWidgetOption() public function testInvalidWidgetOption()
{ {
@ -34,7 +34,7 @@ class DateTypeTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testInvalidInputOption() public function testInvalidInputOption()
{ {
@ -271,7 +271,7 @@ class DateTypeTest extends LocalizedTestCase
* This test is to check that the strings '0', '1', '2', '3' are no accepted * This test is to check that the strings '0', '1', '2', '3' are no accepted
* as valid IntlDateFormatter constants for FULL, LONG, MEDIUM or SHORT respectively. * as valid IntlDateFormatter constants for FULL, LONG, MEDIUM or SHORT respectively.
* *
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testThrowExceptionIfFormatIsNoPattern() public function testThrowExceptionIfFormatIsNoPattern()
{ {
@ -283,7 +283,7 @@ class DateTypeTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testThrowExceptionIfFormatDoesNotContainYearMonthAndDay() public function testThrowExceptionIfFormatDoesNotContainYearMonthAndDay()
{ {
@ -294,7 +294,7 @@ class DateTypeTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testThrowExceptionIfFormatIsNoConstant() public function testThrowExceptionIfFormatIsNoConstant()
{ {
@ -304,7 +304,7 @@ class DateTypeTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testThrowExceptionIfFormatIsInvalid() public function testThrowExceptionIfFormatIsInvalid()
{ {

View File

@ -391,7 +391,7 @@ class FormTypeTest extends TypeTestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testAttributesException() public function testAttributesException()
{ {

View File

@ -629,7 +629,7 @@ class TimeTypeTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidConfigurationException * @expectedException \Symfony\Component\Form\Exception\InvalidConfigurationException
*/ */
public function testInitializeWithSecondsAndWithoutMinutes() public function testInitializeWithSecondsAndWithoutMinutes()
{ {

View File

@ -188,7 +188,7 @@ class FormRegistryTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\FormException * @expectedException \Symfony\Component\Form\Exception\FormException
*/ */
public function testGetTypeThrowsExceptionIfParentNotFound() public function testGetTypeThrowsExceptionIfParentNotFound()
{ {
@ -200,7 +200,7 @@ class FormRegistryTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\FormException * @expectedException \Symfony\Component\Form\Exception\FormException
*/ */
public function testGetTypeThrowsExceptionIfTypeNotFound() public function testGetTypeThrowsExceptionIfTypeNotFound()
{ {
@ -208,7 +208,7 @@ class FormRegistryTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testGetTypeThrowsExceptionIfNoString() public function testGetTypeThrowsExceptionIfNoString()
{ {

View File

@ -124,7 +124,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException
*/ */
public function testGetValueThrowsExceptionIfArrayAccessExpected() public function testGetValueThrowsExceptionIfArrayAccessExpected()
{ {
@ -154,7 +154,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException
*/ */
public function testSetValueThrowsExceptionIfArrayAccessExpected() public function testSetValueThrowsExceptionIfArrayAccessExpected()
{ {
@ -240,7 +240,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException
*/ */
public function testMapFormToDataFailsIfOnlyAdderFound() public function testMapFormToDataFailsIfOnlyAdderFound()
{ {
@ -258,7 +258,7 @@ abstract class PropertyPathCollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException
*/ */
public function testMapFormToDataFailsIfOnlyRemoverFound() public function testMapFormToDataFailsIfOnlyRemoverFound()
{ {

View File

@ -27,7 +27,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException
*/ */
public function testGetValueThrowsExceptionIfIndexNotationExpected() public function testGetValueThrowsExceptionIfIndexNotationExpected()
{ {
@ -126,7 +126,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException
*/ */
public function testGetValueThrowsExceptionIfPropertyIsNotPublic() public function testGetValueThrowsExceptionIfPropertyIsNotPublic()
{ {
@ -156,7 +156,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException
*/ */
public function testGetValueThrowsExceptionIfGetterIsNotPublic() public function testGetValueThrowsExceptionIfGetterIsNotPublic()
{ {
@ -208,7 +208,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException
*/ */
public function testGetValueThrowsExceptionIfIsserIsNotPublic() public function testGetValueThrowsExceptionIfIsserIsNotPublic()
{ {
@ -218,7 +218,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException
*/ */
public function testGetValueThrowsExceptionIfPropertyDoesNotExist() public function testGetValueThrowsExceptionIfPropertyDoesNotExist()
{ {
@ -228,7 +228,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testGetValueThrowsExceptionIfNotObjectOrArray() public function testGetValueThrowsExceptionIfNotObjectOrArray()
{ {
@ -238,7 +238,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testGetValueThrowsExceptionIfNull() public function testGetValueThrowsExceptionIfNull()
{ {
@ -248,7 +248,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testGetValueThrowsExceptionIfEmpty() public function testGetValueThrowsExceptionIfEmpty()
{ {
@ -268,7 +268,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyException
*/ */
public function testSetValueThrowsExceptionIfIndexNotationExpected() public function testSetValueThrowsExceptionIfIndexNotationExpected()
{ {
@ -341,7 +341,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\PropertyAccessDeniedException * @expectedException \Symfony\Component\Form\Exception\PropertyAccessDeniedException
*/ */
public function testSetValueThrowsExceptionIfGetterIsNotPublic() public function testSetValueThrowsExceptionIfGetterIsNotPublic()
{ {
@ -351,7 +351,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testSetValueThrowsExceptionIfNotObjectOrArray() public function testSetValueThrowsExceptionIfNotObjectOrArray()
{ {
@ -362,7 +362,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testSetValueThrowsExceptionIfNull() public function testSetValueThrowsExceptionIfNull()
{ {
@ -373,7 +373,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testSetValueThrowsExceptionIfEmpty() public function testSetValueThrowsExceptionIfEmpty()
{ {
@ -391,7 +391,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException
*/ */
public function testInvalidPropertyPath_noDotBeforeProperty() public function testInvalidPropertyPath_noDotBeforeProperty()
{ {
@ -399,7 +399,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException
*/ */
public function testInvalidPropertyPath_dotAtTheBeginning() public function testInvalidPropertyPath_dotAtTheBeginning()
{ {
@ -407,7 +407,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException
*/ */
public function testInvalidPropertyPath_unexpectedCharacters() public function testInvalidPropertyPath_unexpectedCharacters()
{ {
@ -415,7 +415,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\InvalidPropertyPathException * @expectedException \Symfony\Component\Form\Exception\InvalidPropertyPathException
*/ */
public function testInvalidPropertyPath_empty() public function testInvalidPropertyPath_empty()
{ {
@ -423,7 +423,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testInvalidPropertyPath_null() public function testInvalidPropertyPath_null()
{ {
@ -431,7 +431,7 @@ class PropertyPathTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Form\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException
*/ */
public function testInvalidPropertyPath_false() public function testInvalidPropertyPath_false()
{ {

View File

@ -103,7 +103,7 @@ class UploadedFileTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\HttpFoundation\File\Exception\FileException * @expectedException \Symfony\Component\HttpFoundation\File\Exception\FileException
*/ */
public function testMoveLocalFileIsNotAllowed() public function testMoveLocalFileIsNotAllowed()
{ {

View File

@ -136,7 +136,7 @@ class HttpKernelTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\HttpKernel\Exception\NotFoundHttpException * @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/ */
public function testHandleWhenNoControllerIsFound() public function testHandleWhenNoControllerIsFound()
{ {

View File

@ -19,7 +19,7 @@ use Symfony\Component\Locale\Tests\TestCase as LocaleTestCase;
class StubCollatorTest extends LocaleTestCase class StubCollatorTest extends LocaleTestCase
{ {
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testConstructorWithUnsupportedLocale() public function testConstructorWithUnsupportedLocale()
{ {
@ -70,7 +70,7 @@ class StubCollatorTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testCompare() public function testCompare()
{ {
@ -79,7 +79,7 @@ class StubCollatorTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetAttribute() public function testGetAttribute()
{ {
@ -106,7 +106,7 @@ class StubCollatorTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetSortKey() public function testGetSortKey()
{ {
@ -115,7 +115,7 @@ class StubCollatorTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetStrength() public function testGetStrength()
{ {
@ -124,7 +124,7 @@ class StubCollatorTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testSetAttribute() public function testSetAttribute()
{ {
@ -133,7 +133,7 @@ class StubCollatorTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testSetStrength() public function testSetStrength()
{ {

View File

@ -19,7 +19,7 @@ use Symfony\Component\Locale\Tests\TestCase as LocaleTestCase;
class StubIntlDateFormatterTest extends LocaleTestCase class StubIntlDateFormatterTest extends LocaleTestCase
{ {
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testConstructorWithUnsupportedLocale() public function testConstructorWithUnsupportedLocale()
{ {
@ -422,7 +422,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\NotImplementedException * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException
*/ */
public function testFormatWithTimezoneFormatOptionAndDifferentThanUtcStub() public function testFormatWithTimezoneFormatOptionAndDifferentThanUtcStub()
{ {
@ -530,7 +530,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\NotImplementedException * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException
*/ */
public function testFormatWithUnimplementedCharsStub() public function testFormatWithUnimplementedCharsStub()
{ {
@ -540,7 +540,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\NotImplementedException * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException
*/ */
public function testFormatWithNonIntegerTimestamp() public function testFormatWithNonIntegerTimestamp()
{ {
@ -636,7 +636,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testLocaltime() public function testLocaltime()
{ {
@ -979,7 +979,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException
*/ */
public function testParseWithNotNullPositionValueStub() public function testParseWithNotNullPositionValueStub()
{ {
@ -989,7 +989,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testSetCalendar() public function testSetCalendar()
{ {
@ -998,7 +998,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testSetLenient() public function testSetLenient()
{ {
@ -1052,7 +1052,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\NotImplementedException * @expectedException \Symfony\Component\Locale\Exception\NotImplementedException
*/ */
public function testSetTimeZoneIdWithGmtTimeZoneWithMinutesOffsetStub() public function testSetTimeZoneIdWithGmtTimeZoneWithMinutesOffsetStub()
{ {

View File

@ -112,7 +112,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testAcceptFromHttp() public function testAcceptFromHttp()
{ {
@ -120,7 +120,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testComposeLocale() public function testComposeLocale()
{ {
@ -133,7 +133,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testFilterMatches() public function testFilterMatches()
{ {
@ -141,7 +141,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetAllVariants() public function testGetAllVariants()
{ {
@ -154,7 +154,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetDisplayLanguage() public function testGetDisplayLanguage()
{ {
@ -162,7 +162,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetDisplayName() public function testGetDisplayName()
{ {
@ -170,7 +170,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetDisplayRegion() public function testGetDisplayRegion()
{ {
@ -178,7 +178,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetDisplayScript() public function testGetDisplayScript()
{ {
@ -186,7 +186,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetDisplayVariant() public function testGetDisplayVariant()
{ {
@ -194,7 +194,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetKeywords() public function testGetKeywords()
{ {
@ -202,7 +202,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetPrimaryLanguage() public function testGetPrimaryLanguage()
{ {
@ -210,7 +210,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetRegion() public function testGetRegion()
{ {
@ -218,7 +218,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetScript() public function testGetScript()
{ {
@ -226,7 +226,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testLookup() public function testLookup()
{ {
@ -238,7 +238,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testParseLocale() public function testParseLocale()
{ {
@ -246,7 +246,7 @@ class StubLocaleTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testSetDefault() public function testSetDefault()
{ {

View File

@ -23,7 +23,7 @@ use Symfony\Component\Locale\Tests\TestCase as LocaleTestCase;
class StubNumberFormatterTest extends LocaleTestCase class StubNumberFormatterTest extends LocaleTestCase
{ {
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testConstructorWithUnsupportedLocale() public function testConstructorWithUnsupportedLocale()
{ {
@ -31,7 +31,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testConstructorWithUnsupportedStyle() public function testConstructorWithUnsupportedStyle()
{ {
@ -39,7 +39,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException
*/ */
public function testConstructorWithPatternDifferentThanNull() public function testConstructorWithPatternDifferentThanNull()
{ {
@ -47,7 +47,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testSetAttributeWithUnsupportedAttribute() public function testSetAttributeWithUnsupportedAttribute()
{ {
@ -56,7 +56,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testSetAttributeInvalidRoundingMode() public function testSetAttributeInvalidRoundingMode()
{ {
@ -329,7 +329,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testFormatTypeInt32Stub() public function testFormatTypeInt32Stub()
{ {
@ -367,7 +367,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testFormatTypeInt64Stub() public function testFormatTypeInt64Stub()
{ {
@ -404,7 +404,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
*/ */
public function testFormatTypeDoubleStub() public function testFormatTypeDoubleStub()
{ {
@ -699,7 +699,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetPattern() public function testGetPattern()
{ {
@ -708,7 +708,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetSymbol() public function testGetSymbol()
{ {
@ -717,7 +717,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testGetTextAttribute() public function testGetTextAttribute()
{ {
@ -726,7 +726,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testParseCurrency() public function testParseCurrency()
{ {
@ -1120,7 +1120,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException
*/ */
public function testParseWithNotNullPositionValueStub() public function testParseWithNotNullPositionValueStub()
{ {
@ -1139,7 +1139,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testSetPattern() public function testSetPattern()
{ {
@ -1148,7 +1148,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testSetSymbol() public function testSetSymbol()
{ {
@ -1157,7 +1157,7 @@ class StubNumberFormatterTest extends LocaleTestCase
} }
/** /**
* @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException * @expectedException \Symfony\Component\Locale\Exception\MethodNotImplementedException
*/ */
public function testSetTextAttribute() public function testSetTextAttribute()
{ {

View File

@ -173,7 +173,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testResolveFailsIfNonExistingOption() public function testResolveFailsIfNonExistingOption()
{ {
@ -195,7 +195,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\MissingOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\MissingOptionsException
*/ */
public function testResolveFailsIfMissingRequiredOption() public function testResolveFailsIfMissingRequiredOption()
{ {
@ -283,7 +283,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testResolveFailsIfOptionValueNotAllowed() public function testResolveFailsIfOptionValueNotAllowed()
{ {
@ -427,7 +427,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testResolveFailsIfOptionTypeNotAllowed() public function testResolveFailsIfOptionTypeNotAllowed()
{ {
@ -445,7 +445,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testResolveFailsIfOptionTypeNotAllowedMultipleOptions() public function testResolveFailsIfOptionTypeNotAllowedMultipleOptions()
{ {
@ -466,7 +466,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\InvalidOptionsException * @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
*/ */
public function testResolveFailsIfOptionTypeNotAllowedAddTypes() public function testResolveFailsIfOptionTypeNotAllowedAddTypes()
{ {
@ -487,7 +487,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testSetRequiredFailsIfDefaultIsPassed() public function testSetRequiredFailsIfDefaultIsPassed()
{ {
@ -497,7 +497,7 @@ class OptionsResolverTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testSetOptionalFailsIfDefaultIsPassed() public function testSetOptionalFailsIfDefaultIsPassed()
{ {

View File

@ -60,7 +60,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testSetNotSupportedAfterGet() public function testSetNotSupportedAfterGet()
{ {
@ -70,7 +70,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testRemoveNotSupportedAfterGet() public function testRemoveNotSupportedAfterGet()
{ {
@ -80,7 +80,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testSetNormalizerNotSupportedAfterGet() public function testSetNormalizerNotSupportedAfterGet()
{ {
@ -270,7 +270,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testFailForCyclicDependencies() public function testFailForCyclicDependencies()
{ {
@ -286,7 +286,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testFailForCyclicDependenciesBetweenNormalizers() public function testFailForCyclicDependenciesBetweenNormalizers()
{ {
@ -305,7 +305,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testFailForCyclicDependenciesBetweenNormalizerAndLazyOption() public function testFailForCyclicDependenciesBetweenNormalizerAndLazyOption()
{ {
@ -394,7 +394,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
/** /**
* @covers Symfony\Component\OptionsResolver\Options::replace * @covers Symfony\Component\OptionsResolver\Options::replace
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testCannotReplaceAfterOptionWasRead() public function testCannotReplaceAfterOptionWasRead()
{ {
@ -408,7 +408,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
/** /**
* @covers Symfony\Component\OptionsResolver\Options::overload * @covers Symfony\Component\OptionsResolver\Options::overload
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testCannotOverloadAfterOptionWasRead() public function testCannotOverloadAfterOptionWasRead()
{ {
@ -420,7 +420,7 @@ class OptionsTest extends \PHPUnit_Framework_TestCase
/** /**
* @covers Symfony\Component\OptionsResolver\Options::clear * @covers Symfony\Component\OptionsResolver\Options::clear
* @expectedException Symfony\Component\OptionsResolver\Exception\OptionDefinitionException * @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
*/ */
public function testCannotClearAfterOptionWasRead() public function testCannotClearAfterOptionWasRead()
{ {

View File

@ -21,7 +21,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
abstract protected function getProcess($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = 60, array $options = array()); abstract protected function getProcess($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = 60, array $options = array());
/** /**
* @expectedException Symfony\Component\Process\Exception\InvalidArgumentException * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException
*/ */
public function testNegativeTimeoutFromConstructor() public function testNegativeTimeoutFromConstructor()
{ {
@ -29,7 +29,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\InvalidArgumentException * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException
*/ */
public function testNegativeTimeoutFromSetter() public function testNegativeTimeoutFromSetter()
{ {

View File

@ -85,7 +85,7 @@ class ProcessBuilderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\InvalidArgumentException * @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException
*/ */
public function testNegativeTimeoutFromSetter() public function testNegativeTimeoutFromSetter()
{ {

View File

@ -23,7 +23,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testGetExitCode() public function testGetExitCode()
{ {
@ -31,7 +31,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testExitCodeCommandFailed() public function testExitCodeCommandFailed()
{ {
@ -39,7 +39,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessIsSignaledIfStopped() public function testProcessIsSignaledIfStopped()
{ {
@ -47,7 +47,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessWithTermSignal() public function testProcessWithTermSignal()
{ {
@ -55,7 +55,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessIsNotSignaled() public function testProcessIsNotSignaled()
{ {
@ -63,7 +63,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessWithoutTermSignal() public function testProcessWithoutTermSignal()
{ {
@ -71,7 +71,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testExitCodeText() public function testExitCodeText()
{ {
@ -82,7 +82,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testIsSuccessful() public function testIsSuccessful()
{ {
@ -90,7 +90,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testIsNotSuccessful() public function testIsNotSuccessful()
{ {

View File

@ -23,7 +23,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessIsSignaledIfStopped() public function testProcessIsSignaledIfStopped()
{ {
@ -31,7 +31,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessWithTermSignal() public function testProcessWithTermSignal()
{ {
@ -39,7 +39,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessIsNotSignaled() public function testProcessIsNotSignaled()
{ {
@ -47,7 +47,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest
} }
/** /**
* @expectedException Symfony\Component\Process\Exception\RuntimeException * @expectedException \Symfony\Component\Process\Exception\RuntimeException
*/ */
public function testProcessWithoutTermSignal() public function testProcessWithoutTermSignal()
{ {

View File

@ -89,7 +89,7 @@ class PhpGeneratorDumperTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\RouteNotFoundException * @expectedException \Symfony\Component\Routing\Exception\RouteNotFoundException
*/ */
public function testGenerateNonExistingRoute() public function testGenerateNonExistingRoute()
{ {

View File

@ -75,7 +75,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testRelativeUrlWithNullParameterButNotOptional() public function testRelativeUrlWithNullParameterButNotOptional()
{ {
@ -161,7 +161,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\RouteNotFoundException * @expectedException \Symfony\Component\Routing\Exception\RouteNotFoundException
*/ */
public function testGenerateWithoutRoutes() public function testGenerateWithoutRoutes()
{ {
@ -170,7 +170,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\MissingMandatoryParametersException * @expectedException \Symfony\Component\Routing\Exception\MissingMandatoryParametersException
*/ */
public function testGenerateForRouteWithoutMandatoryParameter() public function testGenerateForRouteWithoutMandatoryParameter()
{ {
@ -179,7 +179,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testGenerateForRouteWithInvalidOptionalParameter() public function testGenerateForRouteWithInvalidOptionalParameter()
{ {
@ -188,7 +188,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testGenerateForRouteWithInvalidParameter() public function testGenerateForRouteWithInvalidParameter()
{ {
@ -228,7 +228,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testGenerateForRouteWithInvalidMandatoryParameter() public function testGenerateForRouteWithInvalidMandatoryParameter()
{ {
@ -237,7 +237,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testRequiredParamAndEmptyPassed() public function testRequiredParamAndEmptyPassed()
{ {
@ -366,7 +366,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testDefaultRequirementOfVariableDisallowsSlash() public function testDefaultRequirementOfVariableDisallowsSlash()
{ {
@ -375,7 +375,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testDefaultRequirementOfVariableDisallowsNextSeparator() public function testDefaultRequirementOfVariableDisallowsNextSeparator()
{ {
@ -406,7 +406,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testUrlWithInvalidParameterInHostname() public function testUrlWithInvalidParameterInHostname()
{ {
@ -415,7 +415,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testUrlWithInvalidParameterInHostnameWhenParamHasADefaultValue() public function testUrlWithInvalidParameterInHostnameWhenParamHasADefaultValue()
{ {
@ -424,7 +424,7 @@ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\InvalidParameterException * @expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
*/ */
public function testUrlWithInvalidParameterEqualsDefaultValueInHostname() public function testUrlWithInvalidParameterEqualsDefaultValueInHostname()
{ {

View File

@ -28,7 +28,7 @@ class RedirectableUrlMatcherTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
*/ */
public function testRedirectWhenNoSlashForNonSafeMethod() public function testRedirectWhenNoSlashForNonSafeMethod()
{ {

View File

@ -295,7 +295,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
*/ */
public function testDefaultRequirementOfVariableDisallowsSlash() public function testDefaultRequirementOfVariableDisallowsSlash()
{ {
@ -307,7 +307,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
*/ */
public function testDefaultRequirementOfVariableDisallowsNextSeparator() public function testDefaultRequirementOfVariableDisallowsNextSeparator()
{ {
@ -319,7 +319,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
*/ */
public function testSchemeRequirement() public function testSchemeRequirement()
{ {
@ -378,7 +378,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Routing\Exception\ResourceNotFoundException * @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
*/ */
public function testWithOutHostnameHostnameDoesNotMatch() public function testWithOutHostnameHostnameDoesNotMatch()
{ {

View File

@ -27,7 +27,7 @@ class AclProviderTest extends \PHPUnit_Framework_TestCase
protected $insertSidStmt; protected $insertSidStmt;
/** /**
* @expectedException Symfony\Component\Security\Acl\Exception\AclNotFoundException * @expectedException \Symfony\Component\Security\Acl\Exception\AclNotFoundException
* @expectedMessage There is no ACL for the given object identity. * @expectedMessage There is no ACL for the given object identity.
*/ */
public function testFindAclThrowsExceptionWhenNoAclExists() public function testFindAclThrowsExceptionWhenNoAclExists()

View File

@ -53,7 +53,7 @@ class MutableAclProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Acl\Exception\AclAlreadyExistsException * @expectedException \Symfony\Component\Security\Acl\Exception\AclAlreadyExistsException
*/ */
public function testCreateAclThrowsExceptionWhenAclAlreadyExists() public function testCreateAclThrowsExceptionWhenAclAlreadyExists()
{ {

View File

@ -73,7 +73,7 @@ class PermissionGrantingStrategyTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Acl\Exception\NoAceFoundException * @expectedException \Symfony\Component\Security\Acl\Exception\NoAceFoundException
*/ */
public function testIsGrantedReturnsExceptionIfNoAceIsFound() public function testIsGrantedReturnsExceptionIfNoAceIsFound()
{ {

View File

@ -31,7 +31,7 @@ class AnonymousAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
*/ */
public function testAuthenticateWhenKeyIsNotValid() public function testAuthenticateWhenKeyIsNotValid()
{ {

View File

@ -18,7 +18,7 @@ use Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationPro
class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
{ {
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AuthenticationServiceException * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationServiceException
*/ */
public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface() public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface()
{ {
@ -30,7 +30,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException
*/ */
public function testRetrieveUserWhenUsernameIsNotFound() public function testRetrieveUserWhenUsernameIsNotFound()
{ {
@ -48,7 +48,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AuthenticationServiceException * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationServiceException
*/ */
public function testRetrieveUserWhenAnExceptionOccurs() public function testRetrieveUserWhenAnExceptionOccurs()
{ {
@ -105,7 +105,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
*/ */
public function testCheckAuthenticationWhenCredentialsAreEmpty() public function testCheckAuthenticationWhenCredentialsAreEmpty()
{ {
@ -161,7 +161,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
*/ */
public function testCheckAuthenticationWhenCredentialsAreNotValid() public function testCheckAuthenticationWhenCredentialsAreNotValid()
{ {
@ -185,7 +185,7 @@ class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
*/ */
public function testCheckAuthenticationDoesNotReauthenticateWhenPasswordHasChanged() public function testCheckAuthenticationDoesNotReauthenticateWhenPasswordHasChanged()
{ {

View File

@ -42,7 +42,7 @@ class PreAuthenticatedAuthenticationProviderTest extends \PHPUnit_Framework_Test
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
*/ */
public function testAuthenticateWhenNoUserIsSet() public function testAuthenticateWhenNoUserIsSet()
{ {
@ -70,7 +70,7 @@ class PreAuthenticatedAuthenticationProviderTest extends \PHPUnit_Framework_Test
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\LockedException * @expectedException \Symfony\Component\Security\Core\Exception\LockedException
*/ */
public function testAuthenticateWhenUserCheckerThrowsException() public function testAuthenticateWhenUserCheckerThrowsException()
{ {

View File

@ -34,7 +34,7 @@ class RememberMeAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
*/ */
public function testAuthenticateWhenKeysDoNotMatch() public function testAuthenticateWhenKeysDoNotMatch()
{ {
@ -45,7 +45,7 @@ class RememberMeAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AccountExpiredException * @expectedException \Symfony\Component\Security\Core\Exception\AccountExpiredException
*/ */
public function testAuthenticateWhenPostChecksFails() public function testAuthenticateWhenPostChecksFails()
{ {

View File

@ -33,7 +33,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException
*/ */
public function testAuthenticateWhenUsernameIsNotFound() public function testAuthenticateWhenUsernameIsNotFound()
{ {
@ -47,7 +47,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
*/ */
public function testAuthenticateWhenUsernameIsNotFoundAndHideIsTrue() public function testAuthenticateWhenUsernameIsNotFoundAndHideIsTrue()
{ {
@ -61,7 +61,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AuthenticationServiceException * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationServiceException
*/ */
public function testAuthenticateWhenProviderDoesNotReturnAnUserInterface() public function testAuthenticateWhenProviderDoesNotReturnAnUserInterface()
{ {
@ -75,7 +75,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\CredentialsExpiredException * @expectedException \Symfony\Component\Security\Core\Exception\CredentialsExpiredException
*/ */
public function testAuthenticateWhenPreChecksFails() public function testAuthenticateWhenPreChecksFails()
{ {
@ -95,7 +95,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AccountExpiredException * @expectedException \Symfony\Component\Security\Core\Exception\AccountExpiredException
*/ */
public function testAuthenticateWhenPostChecksFails() public function testAuthenticateWhenPostChecksFails()
{ {
@ -115,7 +115,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
* @expectedExceptionMessage Bad credentials * @expectedExceptionMessage Bad credentials
*/ */
public function testAuthenticateWhenPostCheckAuthenticationFails() public function testAuthenticateWhenPostCheckAuthenticationFails()
@ -134,7 +134,7 @@ class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException
* @expectedExceptionMessage Foo * @expectedExceptionMessage Foo
*/ */
public function testAuthenticateWhenPostCheckAuthenticationFailsWithHideFalse() public function testAuthenticateWhenPostCheckAuthenticationFailsWithHideFalse()

View File

@ -27,7 +27,7 @@ class InMemoryTokenProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\TokenNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\TokenNotFoundException
*/ */
public function testLoadTokenBySeriesThrowsNotFoundException() public function testLoadTokenBySeriesThrowsNotFoundException()
{ {
@ -49,7 +49,7 @@ class InMemoryTokenProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\TokenNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\TokenNotFoundException
*/ */
public function testDeleteToken() public function testDeleteToken()
{ {

View File

@ -41,7 +41,7 @@ class SecurityContextTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException
*/ */
public function testVoteWithoutAuthenticationToken() public function testVoteWithoutAuthenticationToken()
{ {

View File

@ -33,7 +33,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\CredentialsExpiredException * @expectedException \Symfony\Component\Security\Core\Exception\CredentialsExpiredException
*/ */
public function testCheckPreAuthCredentialsExpired() public function testCheckPreAuthCredentialsExpired()
{ {
@ -65,7 +65,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\LockedException * @expectedException \Symfony\Component\Security\Core\Exception\LockedException
*/ */
public function testCheckPostAuthAccountLocked() public function testCheckPostAuthAccountLocked()
{ {
@ -78,7 +78,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\DisabledException * @expectedException \Symfony\Component\Security\Core\Exception\DisabledException
*/ */
public function testCheckPostAuthDisabled() public function testCheckPostAuthDisabled()
{ {
@ -92,7 +92,7 @@ class UserCheckerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AccountExpiredException * @expectedException \Symfony\Component\Security\Core\Exception\AccountExpiredException
*/ */
public function testCheckPostAuthAccountExpired() public function testCheckPostAuthAccountExpired()
{ {

View File

@ -42,7 +42,7 @@ class ChainUserProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException
*/ */
public function testLoadUserByUsernameThrowsUsernameNotFoundException() public function testLoadUserByUsernameThrowsUsernameNotFoundException()
{ {
@ -107,7 +107,7 @@ class ChainUserProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\UnsupportedUserException * @expectedException \Symfony\Component\Security\Core\Exception\UnsupportedUserException
*/ */
public function testRefreshUserThrowsUnsupportedUserException() public function testRefreshUserThrowsUnsupportedUserException()
{ {

View File

@ -52,7 +52,7 @@ class InMemoryUserProviderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\UsernameNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\UsernameNotFoundException
*/ */
public function testLoadUserByUsernameDoesNotExist() public function testLoadUserByUsernameDoesNotExist()
{ {

View File

@ -31,7 +31,7 @@ class AccessListenerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AccessDeniedException * @expectedException \Symfony\Component\Security\Core\Exception\AccessDeniedException
*/ */
public function testHandleWhenTheAccessDecisionManagerDecidesToRefuseAccess() public function testHandleWhenTheAccessDecisionManagerDecidesToRefuseAccess()
{ {
@ -198,7 +198,7 @@ class AccessListenerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException
*/ */
public function testHandleWhenTheSecurityContextHasNoToken() public function testHandleWhenTheSecurityContextHasNoToken()
{ {

View File

@ -166,7 +166,7 @@ class LogoutListenerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Security\Core\Exception\LogoutException * @expectedException \Symfony\Component\Security\Core\Exception\LogoutException
*/ */
public function testCsrfValidationFails() public function testCsrfValidationFails()
{ {

View File

@ -46,7 +46,7 @@ class CsvFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {
@ -56,7 +56,7 @@ class CsvFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadNonLocalResource() public function testLoadNonLocalResource()
{ {

View File

@ -28,7 +28,7 @@ class IcuDatFileLoaderTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadInvalidResource() public function testLoadInvalidResource()
{ {
@ -62,7 +62,7 @@ class IcuDatFileLoaderTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {

View File

@ -40,7 +40,7 @@ class IcuResFileLoaderTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {
@ -49,7 +49,7 @@ class IcuResFileLoaderTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadInvalidResource() public function testLoadInvalidResource()
{ {

View File

@ -46,7 +46,7 @@ class IniFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {

View File

@ -46,7 +46,7 @@ class MoFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {
@ -56,7 +56,7 @@ class MoFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadInvalidResource() public function testLoadInvalidResource()
{ {

View File

@ -35,7 +35,7 @@ class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {
@ -45,7 +45,7 @@ class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadThrowsAnExceptionIfFileNotLocal() public function testLoadThrowsAnExceptionIfFileNotLocal()
{ {

View File

@ -57,7 +57,7 @@ class PoFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {

View File

@ -35,7 +35,7 @@ class QtFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {

View File

@ -43,7 +43,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadInvalidResource() public function testLoadInvalidResource()
{ {
@ -52,7 +52,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadResourceDoesNotValidate() public function testLoadResourceDoesNotValidate()
{ {
@ -61,7 +61,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {
@ -71,7 +71,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadThrowsAnExceptionIfFileNotLocal() public function testLoadThrowsAnExceptionIfFileNotLocal()
{ {

View File

@ -50,7 +50,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testLoadNonExistingResource() public function testLoadNonExistingResource()
{ {
@ -60,7 +60,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadThrowsAnExceptionIfFileNotLocal() public function testLoadThrowsAnExceptionIfFileNotLocal()
{ {
@ -70,7 +70,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Translation\Exception\InvalidResourceException * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
*/ */
public function testLoadThrowsAnExceptionIfNotAnArray() public function testLoadThrowsAnExceptionIfNotAnArray()
{ {

View File

@ -69,7 +69,7 @@ class TranslatorTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider getTransFileTests * @dataProvider getTransFileTests
* @expectedException Symfony\Component\Translation\Exception\NotFoundResourceException * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
*/ */
public function testTransWithoutFallbackLocaleFile($format, $loader) public function testTransWithoutFallbackLocaleFile($format, $loader)
{ {

View File

@ -59,7 +59,7 @@ class ConstraintValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ValidatorException * @expectedException \Symfony\Component\Validator\Exception\ValidatorException
*/ */
public function testSetMessageFailsIfNoContextSet() public function testSetMessageFailsIfNoContextSet()
{ {

View File

@ -20,7 +20,7 @@ use Symfony\Component\Validator\Constraints\Valid;
class AllTest extends \PHPUnit_Framework_TestCase class AllTest extends \PHPUnit_Framework_TestCase
{ {
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testRejectNonConstraints() public function testRejectNonConstraints()
{ {
@ -30,7 +30,7 @@ class AllTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testRejectValidConstraint() public function testRejectValidConstraint()
{ {

View File

@ -68,7 +68,7 @@ class AllValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testThrowsExceptionIfNotTraversable() public function testThrowsExceptionIfNotTraversable()
{ {

View File

@ -118,7 +118,7 @@ class CallbackValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectCallbackArray() public function testExpectCallbackArray()
{ {
@ -128,7 +128,7 @@ class CallbackValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testExpectValidMethods() public function testExpectValidMethods()
{ {
@ -138,7 +138,7 @@ class CallbackValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testExpectValidCallbacks() public function testExpectValidCallbacks()
{ {

View File

@ -48,7 +48,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectArrayIfMultipleIsTrue() public function testExpectArrayIfMultipleIsTrue()
{ {
@ -69,7 +69,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testChoicesOrCallbackExpected() public function testChoicesOrCallbackExpected()
{ {
@ -77,7 +77,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testValidCallbackExpected() public function testValidCallbackExpected()
{ {

View File

@ -22,7 +22,7 @@ use Symfony\Component\Validator\Constraints\Valid;
class CollectionTest extends \PHPUnit_Framework_TestCase class CollectionTest extends \PHPUnit_Framework_TestCase
{ {
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testRejectInvalidFieldsOption() public function testRejectInvalidFieldsOption()
{ {
@ -32,7 +32,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testRejectNonConstraints() public function testRejectNonConstraints()
{ {
@ -42,7 +42,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testRejectValidConstraint() public function testRejectValidConstraint()
{ {
@ -52,7 +52,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testRejectValidConstraintWithinOptional() public function testRejectValidConstraintWithinOptional()
{ {
@ -62,7 +62,7 @@ class CollectionTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testRejectValidConstraintWithinRequired() public function testRejectValidConstraintWithinRequired()
{ {

View File

@ -92,7 +92,7 @@ abstract class CollectionValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testThrowsExceptionIfNotTraversable() public function testThrowsExceptionIfNotTraversable()
{ {

View File

@ -46,7 +46,7 @@ abstract class CountValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsCountableType() public function testExpectsCountableType()
{ {

View File

@ -51,7 +51,7 @@ class CountryValidatorTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {

View File

@ -57,7 +57,7 @@ class DateTimeValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {

View File

@ -57,7 +57,7 @@ class DateValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {

View File

@ -49,7 +49,7 @@ class EmailValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {

View File

@ -62,7 +62,7 @@ abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleTypeOrFile() public function testExpectsStringCompatibleTypeOrFile()
{ {
@ -150,7 +150,7 @@ abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testInvalidMaxSize() public function testInvalidMaxSize()
{ {

View File

@ -49,7 +49,7 @@ class IpValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {
@ -57,7 +57,7 @@ class IpValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/ */
public function testInvalidValidatorVersion() public function testInvalidValidatorVersion()
{ {

View File

@ -51,7 +51,7 @@ class LanguageValidatorTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {

View File

@ -49,7 +49,7 @@ class LengthValidatorTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {

View File

@ -51,7 +51,7 @@ class LocaleValidatorTest extends LocalizedTestCase
} }
/** /**
* @expectedException Symfony\Component\Validator\Exception\UnexpectedTypeException * @expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
*/ */
public function testExpectsStringCompatibleType() public function testExpectsStringCompatibleType()
{ {

Some files were not shown because too many files have changed in this diff Show More