You are here

public function GroupsTest::testNotAnArrayGroupsParameter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/Annotation/GroupsTest.php \Symfony\Component\Serializer\Tests\Annotation\GroupsTest::testNotAnArrayGroupsParameter()

@expectedException \Symfony\Component\Serializer\Exception\InvalidArgumentException

File

vendor/symfony/serializer/Tests/Annotation/GroupsTest.php, line 32

Class

GroupsTest
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Component\Serializer\Tests\Annotation

Code

public function testNotAnArrayGroupsParameter() {
  new Groups(array(
    'value' => 'coopTilleuls',
  ));
}