19declare(strict_types=1);
21use PHPUnit\Framework\TestCase;
27 protected function setUp(): void
29 $this->gui =
new class () extends
ilMapGUI {
34 public function getHtml():
string
38 public function getUserListHtml():
string
44 #[\PHPUnit\Framework\Attributes\DataProvider('properties')]
49 $this->gui->$set($value);
50 $this->assertEquals($value, $this->gui->$get());
56 [
"MapId",
"a_map_id"],
58 [
"Height",
"a_height"],
59 [
"Latitude",
"a_latitude"],
60 [
"Longitude",
"a_longitude"],
62 [
"EnableTypeControl",
true],
63 [
"EnableNavigationControl",
false],
64 [
"EnableUpdateListener",
true],
65 [
"EnableLargeMapControl",
false],
66 [
"EnableCentralMarker",
true]
testSettersAndGetters($name, $value)
User interface class for maps.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc