public function testApiSetLoop_SetsLoop() { $loop = $this->createLoop(); $object = $this->createObject(); $this->assertSame(null, $object->getLoop()); $object->setLoop($loop); $this->assertSame($loop, $object->getLoop()); }