19 declare(strict_types=1);
42 self::TO_ABSTRACT_IMAGE,
45 self::TO_MEMBERS_GALLERY
48 $this->assertEquals($object->getObjId(), self::TO_OBJ_ID);
49 $this->assertEquals($object->getAbstract(), self::TO_ABSTRACT);
50 $this->assertEquals($object->getExtro(), self::TO_EXTRO);
51 $this->assertEquals($object->getAbstractImage(), self::TO_ABSTRACT_IMAGE);
52 $this->assertEquals($object->getExtroImage(), self::TO_EXTRO_IMAGE);
53 $this->assertEquals($object->getMembersGallery(), self::TO_MEMBERS_GALLERY);
65 $this->assertEquals($object->
getObjId(), self::TO_OBJ_ID);
66 $this->assertEquals($object->
getAbstract(), self::TO_ABSTRACT);
67 $this->assertEquals($object->
getExtro(), self::TO_EXTRO);
69 $this->assertEquals($object->
getExtroImage(), self::TO_EXTRO_IMAGE);
72 $this->assertEquals($new_object->getObjId(), self::TO_OBJ_ID);
73 $this->assertEquals($new_object->getAbstract(),
"teststring");
74 $this->assertEquals($new_object->getExtro(), self::TO_EXTRO);
75 $this->assertEquals($new_object->getAbstractImage(), self::TO_ABSTRACT_IMAGE);
76 $this->assertEquals($new_object->getExtroImage(), self::TO_EXTRO_IMAGE);
77 $this->assertEquals($new_object->getMembersGallery(), self::TO_MEMBERS_GALLERY);
85 $new_object = $object->
withExtro(
"teststring");
87 $this->assertEquals($object->
getObjId(), self::TO_OBJ_ID);
88 $this->assertEquals($object->
getAbstract(), self::TO_ABSTRACT);
89 $this->assertEquals($object->
getExtro(), self::TO_EXTRO);
91 $this->assertEquals($object->
getExtroImage(), self::TO_EXTRO_IMAGE);
94 $this->assertEquals($new_object->getObjId(), self::TO_OBJ_ID);
95 $this->assertEquals($new_object->getAbstract(), self::TO_ABSTRACT);
96 $this->assertEquals($new_object->getExtro(),
"teststring");
97 $this->assertEquals($new_object->getAbstractImage(), self::TO_ABSTRACT_IMAGE);
98 $this->assertEquals($new_object->getExtroImage(), self::TO_EXTRO_IMAGE);
99 $this->assertEquals($new_object->getMembersGallery(), self::TO_MEMBERS_GALLERY);
109 $this->assertEquals($object->
getObjId(), self::TO_OBJ_ID);
110 $this->assertEquals($object->
getAbstract(), self::TO_ABSTRACT);
111 $this->assertEquals($object->
getExtro(), self::TO_EXTRO);
113 $this->assertEquals($object->
getExtroImage(), self::TO_EXTRO_IMAGE);
116 $this->assertEquals($new_object->getObjId(), self::TO_OBJ_ID);
117 $this->assertEquals($new_object->getAbstract(), self::TO_ABSTRACT);
118 $this->assertEquals($new_object->getExtro(), self::TO_EXTRO);
119 $this->assertEquals($new_object->getAbstractImage(),
"teststring");
120 $this->assertEquals($new_object->getExtroImage(), self::TO_EXTRO_IMAGE);
121 $this->assertEquals($new_object->getMembersGallery(), self::TO_MEMBERS_GALLERY);
131 $this->assertEquals($object->
getObjId(), self::TO_OBJ_ID);
132 $this->assertEquals($object->
getAbstract(), self::TO_ABSTRACT);
133 $this->assertEquals($object->
getExtro(), self::TO_EXTRO);
135 $this->assertEquals($object->
getExtroImage(), self::TO_EXTRO_IMAGE);
138 $this->assertEquals($new_object->getObjId(), self::TO_OBJ_ID);
139 $this->assertEquals($new_object->getAbstract(), self::TO_ABSTRACT);
140 $this->assertEquals($new_object->getExtro(), self::TO_EXTRO);
141 $this->assertEquals($new_object->getAbstractImage(), self::TO_ABSTRACT_IMAGE);
142 $this->assertEquals($new_object->getExtroImage(),
"teststring");
143 $this->assertEquals($new_object->getMembersGallery(), self::TO_MEMBERS_GALLERY);
153 $this->assertEquals($object->
getObjId(), self::TO_OBJ_ID);
154 $this->assertEquals($object->
getAbstract(), self::TO_ABSTRACT);
155 $this->assertEquals($object->
getExtro(), self::TO_EXTRO);
157 $this->assertEquals($object->
getExtroImage(), self::TO_EXTRO_IMAGE);
160 $this->assertEquals($new_object->getObjId(), self::TO_OBJ_ID);
161 $this->assertEquals($new_object->getAbstract(), self::TO_ABSTRACT);
162 $this->assertEquals($new_object->getExtro(), self::TO_EXTRO);
163 $this->assertEquals($new_object->getAbstractImage(), self::TO_ABSTRACT_IMAGE);
164 $this->assertEquals($new_object->getExtroImage(), self::TO_EXTRO_IMAGE);
165 $this->assertEquals($new_object->getMembersGallery(),
false);
testWithMembersGallery(ilLearningSequenceSettings $object)
testCreate
testWithAbstract(ilLearningSequenceSettings $object)
testCreate
testWithAbstractImage(ilLearningSequenceSettings $object)
testCreate
withExtroImage(?string $path=null)
testWithExtroImage(ilLearningSequenceSettings $object)
testCreate
withAbstractImage(?string $path=null)
withMembersGallery(bool $members_gallery)
Settings for an LSO (like abstract, extro)
withAbstract(string $abstract)
testWithExtro(ilLearningSequenceSettings $object)
testCreate