function testEmptyArrayTraits() { $this->assertTrue(Segment::identify(array("userId" => "empty-traits", "traits" => array()))); $this->assertTrue(Segment::group(array("userId" => "empty-traits", "groupId" => "empty-traits", "traits" => array()))); }