public function testGroupsParameters() { $validData = array('a', 'b'); $groups = new Groups(array('value' => $validData)); $this->assertEquals($validData, $groups->getGroups()); }
public function testSingleGroup() { $groups = new Groups(array('value' => 'a')); $this->assertEquals(array('a'), $groups->getGroups()); }