You are here

public function GroupsTest::testEmptyGroupsParameter 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::testEmptyGroupsParameter()

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

File

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

Class

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

Namespace

Symfony\Component\Serializer\Tests\Annotation

Code

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