public function testGetSetGroupsBySA() { $this->assertSame($this->groupsBySA, $this->contextualizer->getGroupsBySiteAccess()); $groups = array('foo' => array('bar', 'baz'), 'group2' => array('some', 'thing')); $this->contextualizer->setGroupsBySiteAccess($groups); $this->assertSame($groups, $this->contextualizer->getGroupsBySiteAccess()); }