public function testThrowsExceptionOnElggIconSave() { $service = $this->createService(); $icon = $service->getIcon($this->entity, 'small'); $icon->save(); }