19 declare(strict_types=1);
39 self::TO_ABSTRACT_IMAGE,
41 self::TO_MEMBERS_GALLERY
44 $this->assertEquals(self::TO_OBJ_ID, $object->getObjId());
45 $this->assertEquals(self::TO_ABSTRACT, $object->getAbstract());
46 $this->assertEquals(self::TO_EXTRO, $object->getExtro());
47 $this->assertEquals(self::TO_ABSTRACT_IMAGE, $object->getAbstractImage());
48 $this->assertEquals(self::TO_EXTRO_IMAGE, $object->getExtroImage());
49 $this->assertEquals(self::TO_MEMBERS_GALLERY, $object->getMembersGallery());
61 $this->assertEquals(self::TO_OBJ_ID, $object->
getObjId());
62 $this->assertEquals(self::TO_ABSTRACT, $object->
getAbstract());
63 $this->assertEquals(self::TO_EXTRO, $object->
getExtro());
65 $this->assertEquals(self::TO_EXTRO_IMAGE, $object->
getExtroImage());
68 $this->assertEquals(self::TO_OBJ_ID, $new_object->getObjId());
69 $this->assertEquals(
"teststring", $new_object->getAbstract());
70 $this->assertEquals(self::TO_EXTRO, $new_object->getExtro());
71 $this->assertEquals(self::TO_ABSTRACT_IMAGE, $new_object->getAbstractImage());
72 $this->assertEquals(self::TO_EXTRO_IMAGE, $new_object->getExtroImage());
73 $this->assertEquals(self::TO_MEMBERS_GALLERY, $new_object->getMembersGallery());
81 $new_object = $object->
withExtro(
"teststring");
83 $this->assertEquals(self::TO_OBJ_ID, $object->
getObjId());
84 $this->assertEquals(self::TO_ABSTRACT, $object->
getAbstract());
85 $this->assertEquals(self::TO_EXTRO, $object->
getExtro());
87 $this->assertEquals(self::TO_EXTRO_IMAGE, $object->
getExtroImage());
90 $this->assertEquals(self::TO_OBJ_ID, $new_object->getObjId());
91 $this->assertEquals(self::TO_ABSTRACT, $new_object->getAbstract());
92 $this->assertEquals(
"teststring", $new_object->getExtro());
93 $this->assertEquals(self::TO_ABSTRACT_IMAGE, $new_object->getAbstractImage());
94 $this->assertEquals(self::TO_EXTRO_IMAGE, $new_object->getExtroImage());
95 $this->assertEquals(self::TO_MEMBERS_GALLERY, $new_object->getMembersGallery());
105 $this->assertEquals(self::TO_OBJ_ID, $object->
getObjId());
106 $this->assertEquals(self::TO_ABSTRACT, $object->
getAbstract());
107 $this->assertEquals(self::TO_EXTRO, $object->
getExtro());
109 $this->assertEquals(self::TO_EXTRO_IMAGE, $object->
getExtroImage());
112 $this->assertEquals(self::TO_OBJ_ID, $new_object->getObjId());
113 $this->assertEquals(self::TO_ABSTRACT, $new_object->getAbstract());
114 $this->assertEquals(self::TO_EXTRO, $new_object->getExtro());
115 $this->assertEquals(
"teststring", $new_object->getAbstractImage());
116 $this->assertEquals(self::TO_EXTRO_IMAGE, $new_object->getExtroImage());
117 $this->assertEquals(self::TO_MEMBERS_GALLERY, $new_object->getMembersGallery());
127 $this->assertEquals(self::TO_OBJ_ID, $object->
getObjId());
128 $this->assertEquals(self::TO_ABSTRACT, $object->
getAbstract());
129 $this->assertEquals(self::TO_EXTRO, $object->
getExtro());
131 $this->assertEquals(self::TO_EXTRO_IMAGE, $object->
getExtroImage());
134 $this->assertEquals(self::TO_OBJ_ID, $new_object->getObjId());
135 $this->assertEquals(self::TO_ABSTRACT, $new_object->getAbstract());
136 $this->assertEquals(self::TO_EXTRO, $new_object->getExtro());
137 $this->assertEquals(self::TO_ABSTRACT_IMAGE, $new_object->getAbstractImage());
138 $this->assertEquals(
"teststring", $new_object->getExtroImage());
139 $this->assertEquals(self::TO_MEMBERS_GALLERY, $new_object->getMembersGallery());
149 $this->assertEquals(self::TO_OBJ_ID, $object->
getObjId());
150 $this->assertEquals(self::TO_ABSTRACT, $object->
getAbstract());
151 $this->assertEquals(self::TO_EXTRO, $object->
getExtro());
153 $this->assertEquals(self::TO_EXTRO_IMAGE, $object->
getExtroImage());
156 $this->assertEquals(self::TO_OBJ_ID, $new_object->getObjId());
157 $this->assertEquals(self::TO_ABSTRACT, $new_object->getAbstract());
158 $this->assertEquals(self::TO_EXTRO, $new_object->getExtro());
159 $this->assertEquals(self::TO_ABSTRACT_IMAGE, $new_object->getAbstractImage());
160 $this->assertEquals(self::TO_EXTRO_IMAGE, $new_object->getExtroImage());
161 $this->assertEquals(
false, $new_object->getMembersGallery());
testWithAbstract(ilLearningSequenceSettings $object)
testCreate
withExtroImage(?string $path=null)
testWithAbstractImage(ilLearningSequenceSettings $object)
testCreate
withAbstractImage(?string $path=null)
withMembersGallery(bool $members_gallery)
Settings for an LSO (like abstract, extro)
testWithExtroImage(ilLearningSequenceSettings $object)
testCreate
withAbstract(string $abstract)
testWithMembersGallery(ilLearningSequenceSettings $object)
testCreate
testWithExtro(ilLearningSequenceSettings $object)
testCreate