Passed
Push — master ( 802754...f898ad )
by WEBEWEB
07:59 queued 25s
created

HighchartsTreemapTest::testToArray()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 238
Code Lines 142

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 142
nc 1
nop 0
dl 0
loc 238
rs 8.2857
c 0
b 0
f 0

How to fix   Long Method   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
3
/**
4
 * This file is part of the highcharts-bundle package.
5
 *
6
 * (c) 2017 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\HighchartsBundle\Tests\API\Chart\PlotOptions;
13
14
use PHPUnit_Framework_TestCase;
15
16
/**
17
 * Highcharts treemap test.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Bundle\HighchartsBundle\Tests\API\Chart\PlotOptions
21
 * @version 5.0.14
22
 */
23
final class HighchartsTreemapTest extends PHPUnit_Framework_TestCase {
24
25
    /**
26
     * Tests the __construct() method.
27
     *
28
     * @return void
29
     */
30
    public function testConstructor() {
31
32
        $obj1 = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(true);
33
34
        $this->assertEquals(null, $obj1->getAllowDrillToNode());
35
        $this->assertEquals(null, $obj1->getAllowPointSelect());
36
        $this->assertEquals(null, $obj1->getAlternateStartingDirection());
37
        $this->assertEquals(null, $obj1->getAnimation());
38
        $this->assertEquals(null, $obj1->getAnimationLimit());
39
        $this->assertEquals(null, $obj1->getBorderColor());
40
        $this->assertEquals(null, $obj1->getBorderWidth());
41
        $this->assertEquals(null, $obj1->getClassName());
42
        $this->assertEquals(null, $obj1->getColor());
43
        $this->assertEquals(null, $obj1->getColorByPoint());
44
        $this->assertEquals(null, $obj1->getColorIndex());
45
        $this->assertEquals(null, $obj1->getColors());
46
        $this->assertEquals(null, $obj1->getCrisp());
47
        $this->assertEquals(null, $obj1->getCropThreshold());
48
        $this->assertEquals(null, $obj1->getCursor());
49
        $this->assertEquals(null, $obj1->getDataLabels());
50
        $this->assertEquals(null, $obj1->getDescription());
51
        $this->assertEquals(null, $obj1->getEnableMouseTracking());
52
        $this->assertEquals(null, $obj1->getEvents());
53
        $this->assertEquals(null, $obj1->getExposeElementToA11y());
54
        $this->assertEquals(null, $obj1->getFindNearestPointBy());
55
        $this->assertEquals(null, $obj1->getGetExtremesFromAll());
56
        $this->assertEquals(null, $obj1->getIgnoreHiddenPoint());
57
        $this->assertEquals(null, $obj1->getInteractByLeaf());
58
        $this->assertEquals(null, $obj1->getKeys());
59
        $this->assertEquals(null, $obj1->getLayoutAlgorithm());
60
        $this->assertEquals(null, $obj1->getLayoutStartingDirection());
61
        $this->assertEquals(null, $obj1->getLevelIsConstant());
62
        $this->assertEquals(null, $obj1->getLevels());
63
        $this->assertEquals(null, $obj1->getLinkedTo());
64
        $this->assertEquals(null, $obj1->getMaxPointWidth());
65
        $this->assertEquals(null, $obj1->getOpacity());
66
        $this->assertEquals(null, $obj1->getPoint());
67
        $this->assertEquals(null, $obj1->getPointDescriptionFormatter());
68
        $this->assertEquals(null, $obj1->getSelected());
69
        $this->assertEquals(null, $obj1->getShadow());
70
        $this->assertEquals(null, $obj1->getShowCheckbox());
71
        $this->assertEquals(null, $obj1->getShowInLegend());
72
        $this->assertEquals(null, $obj1->getSkipKeyboardNavigation());
73
        $this->assertEquals(null, $obj1->getSortIndex());
74
        $this->assertEquals(null, $obj1->getStates());
75
        $this->assertEquals(null, $obj1->getStickyTracking());
76
        $this->assertEquals(null, $obj1->getTooltip());
77
        $this->assertEquals(null, $obj1->getTurboThreshold());
78
        $this->assertEquals(null, $obj1->getVisible());
79
        $this->assertEquals(null, $obj1->getZoneAxis());
80
        $this->assertEquals(null, $obj1->getZones());
81
82
        $obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(false);
83
84
        $this->assertEquals(false, $obj0->getAllowDrillToNode());
85
        $this->assertEquals(false, $obj0->getAllowPointSelect());
86
        $this->assertEquals(false, $obj0->getAlternateStartingDirection());
87
        $this->assertEquals(true, $obj0->getAnimation());
88
        $this->assertEquals(null, $obj0->getAnimationLimit());
89
        $this->assertEquals("#e6e6e6", $obj0->getBorderColor());
90
        $this->assertEquals(1, $obj0->getBorderWidth());
91
        $this->assertEquals(null, $obj0->getClassName());
92
        $this->assertEquals(null, $obj0->getColor());
93
        $this->assertEquals(false, $obj0->getColorByPoint());
94
        $this->assertEquals(null, $obj0->getColorIndex());
95
        $this->assertEquals(null, $obj0->getColors());
96
        $this->assertEquals(true, $obj0->getCrisp());
97
        $this->assertEquals(300, $obj0->getCropThreshold());
98
        $this->assertEquals(null, $obj0->getCursor());
99
        $this->assertEquals(null, $obj0->getDataLabels());
100
        $this->assertEquals(null, $obj0->getDescription());
101
        $this->assertEquals(true, $obj0->getEnableMouseTracking());
102
        $this->assertEquals(null, $obj0->getEvents());
103
        $this->assertEquals(null, $obj0->getExposeElementToA11y());
104
        $this->assertEquals(null, $obj0->getFindNearestPointBy());
105
        $this->assertEquals(false, $obj0->getGetExtremesFromAll());
106
        $this->assertEquals(true, $obj0->getIgnoreHiddenPoint());
107
        $this->assertEquals(null, $obj0->getInteractByLeaf());
108
        $this->assertEquals(null, $obj0->getKeys());
109
        $this->assertEquals("sliceAndDice", $obj0->getLayoutAlgorithm());
110
        $this->assertEquals("vertical", $obj0->getLayoutStartingDirection());
111
        $this->assertEquals(true, $obj0->getLevelIsConstant());
112
        $this->assertEquals(null, $obj0->getLevels());
113
        $this->assertEquals(null, $obj0->getLinkedTo());
114
        $this->assertEquals(null, $obj0->getMaxPointWidth());
115
        $this->assertEquals(0.15, $obj0->getOpacity());
116
        $this->assertEquals(null, $obj0->getPoint());
117
        $this->assertEquals(null, $obj0->getPointDescriptionFormatter());
118
        $this->assertEquals(false, $obj0->getSelected());
119
        $this->assertEquals(false, $obj0->getShadow());
120
        $this->assertEquals(false, $obj0->getShowCheckbox());
121
        $this->assertEquals(false, $obj0->getShowInLegend());
122
        $this->assertEquals(null, $obj0->getSkipKeyboardNavigation());
123
        $this->assertEquals(null, $obj0->getSortIndex());
124
        $this->assertEquals(null, $obj0->getStates());
125
        $this->assertEquals(true, $obj0->getStickyTracking());
126
        $this->assertEquals(null, $obj0->getTooltip());
127
        $this->assertEquals(1000, $obj0->getTurboThreshold());
128
        $this->assertEquals(true, $obj0->getVisible());
129
        $this->assertEquals("y", $obj0->getZoneAxis());
130
        $this->assertEquals(null, $obj0->getZones());
131
    }
132
133
    /**
134
     * Tests the clear() method.
135
     *
136
     * @return void
137
     */
138
    public function testClear() {
139
140
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(false);
141
142
        $obj->newDataLabels();
143
        $obj->newEvents();
144
        $obj->newPoint();
145
        $obj->newStates();
146
        $obj->newTooltip();
147
148
        $obj->clear();
149
150
        $res = ["dataLabels" => [], "events" => [], "point" => [], "states" => [], "tooltip" => []];
151
        $this->assertEquals($res, $obj->toArray());
152
    }
153
154
    /**
155
     * Tests the jsonSerialize() method.
156
     *
157
     * @return void
158
     */
159
    public function testJsonSerialize() {
160
161
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(true);
162
163
        $this->assertEquals([], $obj->jsonSerialize());
164
    }
165
166
    /**
167
     * Tests the newDataLabels() method.
168
     *
169
     * @return void.
170
     */
171
    public function testNewDataLabels() {
172
173
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(false);
174
175
        $res = $obj->newDataLabels();
176
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels::class, $res);
177
    }
178
179
    /**
180
     * Tests the newEvents() method.
181
     *
182
     * @return void.
183
     */
184
    public function testNewEvents() {
185
186
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(false);
187
188
        $res = $obj->newEvents();
189
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents::class, $res);
190
    }
191
192
    /**
193
     * Tests the newPoint() method.
194
     *
195
     * @return void.
196
     */
197
    public function testNewPoint() {
198
199
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(false);
200
201
        $res = $obj->newPoint();
202
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint::class, $res);
203
    }
204
205
    /**
206
     * Tests the newStates() method.
207
     *
208
     * @return void.
209
     */
210
    public function testNewStates() {
211
212
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(false);
213
214
        $res = $obj->newStates();
215
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates::class, $res);
216
    }
217
218
    /**
219
     * Tests the newTooltip() method.
220
     *
221
     * @return void.
222
     */
223
    public function testNewTooltip() {
224
225
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(false);
226
227
        $res = $obj->newTooltip();
228
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip::class, $res);
229
    }
230
231
    /**
232
     * Tests the toArray() method.
233
     *
234
     * @return void
235
     */
236
    public function testToArray() {
237
238
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap(true);
239
240
        $obj->setAllowDrillToNode("true");
241
242
        $res1 = ["allowDrillToNode" => "true"];
243
        $this->assertEquals($res1, $obj->toArray());
244
245
        $obj->setAllowPointSelect(0);
246
247
        $res2 = ["allowDrillToNode" => "true", "allowPointSelect" => 0];
248
        $this->assertEquals($res2, $obj->toArray());
249
250
        $obj->setAlternateStartingDirection(1);
251
252
        $res3 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1];
253
        $this->assertEquals($res3, $obj->toArray());
254
255
        $obj->setAnimation(1);
256
257
        $res4 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1];
258
        $this->assertEquals($res4, $obj->toArray());
259
260
        $obj->setAnimationLimit(75);
261
262
        $res5 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75];
263
        $this->assertEquals($res5, $obj->toArray());
264
265
        $obj->setBorderColor("97da935a74593c55d78be9d1295aa994");
266
267
        $res6 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994"];
268
        $this->assertEquals($res6, $obj->toArray());
269
270
        $obj->setBorderWidth(81);
271
272
        $res7 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81];
273
        $this->assertEquals($res7, $obj->toArray());
274
275
        $obj->setClassName("6f66e878c62db60568a3487869695820");
276
277
        $res8 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820"];
278
        $this->assertEquals($res8, $obj->toArray());
279
280
        $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd");
281
282
        $res9 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"];
283
        $this->assertEquals($res9, $obj->toArray());
284
285
        $obj->setColorByPoint(0);
286
287
        $res10 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0];
288
        $this->assertEquals($res10, $obj->toArray());
289
290
        $obj->setColorIndex(66);
291
292
        $res11 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66];
293
        $this->assertEquals($res11, $obj->toArray());
294
295
        $obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]);
296
297
        $res12 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]];
298
        $this->assertEquals($res12, $obj->toArray());
299
300
        $obj->setCrisp(0);
301
302
        $res13 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0];
303
        $this->assertEquals($res13, $obj->toArray());
304
305
        $obj->setCropThreshold(44);
306
307
        $res14 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44];
308
        $this->assertEquals($res14, $obj->toArray());
309
310
        $obj->setCursor("crosshair");
311
312
        $res15 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair"];
313
        $this->assertEquals($res15, $obj->toArray());
314
315
        $obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels());
316
317
        $res16 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => []];
318
        $this->assertEquals($res16, $obj->toArray());
319
320
        $obj->setDescription("67daf92c833c41c95db874e18fcb2786");
321
322
        $res17 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786"];
323
        $this->assertEquals($res17, $obj->toArray());
324
325
        $obj->setEnableMouseTracking(1);
326
327
        $res18 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1];
328
        $this->assertEquals($res18, $obj->toArray());
329
330
        $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents());
331
332
        $res19 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => []];
333
        $this->assertEquals($res19, $obj->toArray());
334
335
        $obj->setExposeElementToA11y(0);
336
337
        $res20 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0];
338
        $this->assertEquals($res20, $obj->toArray());
339
340
        $obj->setFindNearestPointBy("xy");
341
342
        $res21 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy"];
343
        $this->assertEquals($res21, $obj->toArray());
344
345
        $obj->setGetExtremesFromAll(1);
346
347
        $res22 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1];
348
        $this->assertEquals($res22, $obj->toArray());
349
350
        $obj->setIgnoreHiddenPoint(0);
351
352
        $res23 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0];
353
        $this->assertEquals($res23, $obj->toArray());
354
355
        $obj->setInteractByLeaf(true);
356
357
        $res24 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true];
358
        $this->assertEquals($res24, $obj->toArray());
359
360
        $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]);
361
362
        $res25 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]];
363
        $this->assertEquals($res25, $obj->toArray());
364
365
        $obj->setLayoutAlgorithm("strip");
366
367
        $res26 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip"];
368
        $this->assertEquals($res26, $obj->toArray());
369
370
        $obj->setLayoutStartingDirection("horizontal");
371
372
        $res27 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal"];
373
        $this->assertEquals($res27, $obj->toArray());
374
375
        $obj->setLevelIsConstant("false");
376
377
        $res28 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false"];
378
        $this->assertEquals($res28, $obj->toArray());
379
380
        $obj->setLevels(["levels" => "836eb5e382b5d9f430df48883fca918e"]);
381
382
        $res29 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"]];
383
        $this->assertEquals($res29, $obj->toArray());
384
385
        $obj->setLinkedTo("914fab47afc86331ec62837807a29419");
386
387
        $res30 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419"];
388
        $this->assertEquals($res30, $obj->toArray());
389
390
        $obj->setMaxPointWidth(96);
391
392
        $res31 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96];
393
        $this->assertEquals($res31, $obj->toArray());
394
395
        $obj->setOpacity(65);
396
397
        $res32 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65];
398
        $this->assertEquals($res32, $obj->toArray());
399
400
        $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint());
401
402
        $res33 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => []];
403
        $this->assertEquals($res33, $obj->toArray());
404
405
        $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36");
406
407
        $res34 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"];
408
        $this->assertEquals($res34, $obj->toArray());
409
410
        $obj->setSelected(0);
411
412
        $res35 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0];
413
        $this->assertEquals($res35, $obj->toArray());
414
415
        $obj->setShadow(0);
416
417
        $res36 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0];
418
        $this->assertEquals($res36, $obj->toArray());
419
420
        $obj->setShowCheckbox(1);
421
422
        $res37 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1];
423
        $this->assertEquals($res37, $obj->toArray());
424
425
        $obj->setShowInLegend(0);
426
427
        $res38 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0];
428
        $this->assertEquals($res38, $obj->toArray());
429
430
        $obj->setSkipKeyboardNavigation(0);
431
432
        $res39 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0];
433
        $this->assertEquals($res39, $obj->toArray());
434
435
        $obj->setSortIndex(86);
436
437
        $res40 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86];
438
        $this->assertEquals($res40, $obj->toArray());
439
440
        $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates());
441
442
        $res41 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => []];
443
        $this->assertEquals($res41, $obj->toArray());
444
445
        $obj->setStickyTracking(1);
446
447
        $res42 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1];
448
        $this->assertEquals($res42, $obj->toArray());
449
450
        $obj->setTooltip(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip());
451
452
        $res43 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => []];
453
        $this->assertEquals($res43, $obj->toArray());
454
455
        $obj->setTurboThreshold(44);
456
457
        $res44 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44];
458
        $this->assertEquals($res44, $obj->toArray());
459
460
        $obj->setVisible(1);
461
462
        $res45 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44, "visible" => 1];
463
        $this->assertEquals($res45, $obj->toArray());
464
465
        $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad");
466
467
        $res46 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44, "visible" => 1, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"];
468
        $this->assertEquals($res46, $obj->toArray());
469
470
        $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]);
471
472
        $res47 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44, "visible" => 1, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]];
473
        $this->assertEquals($res47, $obj->toArray());
474
    }
475
476
}
477