public function GroupsTest::testGroupsParameters in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/Annotation/GroupsTest.php \Symfony\Component\Serializer\Tests\Annotation\GroupsTest::testGroupsParameters()
File
- vendor/
symfony/ serializer/ Tests/ Annotation/ GroupsTest.php, line 45
Class
- GroupsTest
- @author Kévin Dunglas <dunglas@gmail.com>
Namespace
Symfony\Component\Serializer\Tests\AnnotationCode
public function testGroupsParameters() {
$validData = array(
'a',
'b',
);
$groups = new Groups(array(
'value' => $validData,
));
$this
->assertEquals($validData, $groups
->getGroups());
}