Esempio n. 1
0
 public function testCreateDeleteGroup()
 {
     $newGroup = $this->pulseBoard->createGroup("API Group");
     $groups = $this->pulseBoard->getGroups();
     $this->assertPulseArrayContains($newGroup, $groups);
     $this->pulseBoard->deleteGroup($newGroup->getId());
     $newGroups = $this->pulseBoard->getGroups();
     $this->assertCountLessThan($newGroups, $groups);
     return $newGroup;
 }
Esempio n. 2
0
 public function testGetBoardGroupType()
 {
     $group = $this->board->getGroups();
     $this->assertPulseObjectType("PulseGroup", $group[0]);
 }