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

HighchartsPyramidTest::testToArray()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 218
Code Lines 130

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 130
nc 1
nop 0
dl 0
loc 218
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\Series;
13
14
use PHPUnit_Framework_TestCase;
15
16
/**
17
 * Highcharts pyramid test.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Bundle\HighchartsBundle\Tests\API\Chart\Series
21
 * @version 5.0.14
22
 */
23
final class HighchartsPyramidTest 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\Series\HighchartsPyramid(true);
33
34
        $this->assertEquals(null, $obj1->getAllowPointSelect());
35
        $this->assertEquals(null, $obj1->getAnimationLimit());
36
        $this->assertEquals(null, $obj1->getBorderColor());
37
        $this->assertEquals(null, $obj1->getBorderWidth());
38
        $this->assertEquals(null, $obj1->getCenter());
39
        $this->assertEquals(null, $obj1->getClassName());
40
        $this->assertEquals(null, $obj1->getColorIndex());
41
        $this->assertEquals(null, $obj1->getColors());
42
        $this->assertEquals(null, $obj1->getCursor());
43
        $this->assertEquals(null, $obj1->getData());
44
        $this->assertEquals(null, $obj1->getDataLabels());
45
        $this->assertEquals(null, $obj1->getDepth());
46
        $this->assertEquals(null, $obj1->getDescription());
47
        $this->assertEquals(null, $obj1->getEnableMouseTracking());
48
        $this->assertEquals(null, $obj1->getEvents());
49
        $this->assertEquals(null, $obj1->getExposeElementToA11y());
50
        $this->assertEquals(null, $obj1->getFindNearestPointBy());
51
        $this->assertEquals(null, $obj1->getGetExtremesFromAll());
52
        $this->assertEquals(null, $obj1->getHeight());
53
        $this->assertEquals(null, $obj1->getId());
54
        $this->assertEquals(null, $obj1->getIndex());
55
        $this->assertEquals(null, $obj1->getKeys());
56
        $this->assertEquals(null, $obj1->getLegendIndex());
57
        $this->assertEquals(null, $obj1->getLinkedTo());
58
        $this->assertEquals(null, $obj1->getMinSize());
59
        $this->assertEquals(null, $obj1->getName());
60
        $this->assertEquals(null, $obj1->getPoint());
61
        $this->assertEquals(null, $obj1->getPointDescriptionFormatter());
62
        $this->assertEquals(null, $obj1->getReversed());
63
        $this->assertEquals(null, $obj1->getSelected());
64
        $this->assertEquals(null, $obj1->getShadow());
65
        $this->assertEquals(null, $obj1->getShowInLegend());
66
        $this->assertEquals(null, $obj1->getSkipKeyboardNavigation());
67
        $this->assertEquals(null, $obj1->getSlicedOffset());
68
        $this->assertEquals(null, $obj1->getStates());
69
        $this->assertEquals(null, $obj1->getStickyTracking());
70
        $this->assertEquals(null, $obj1->getTooltip());
71
        $this->assertEquals(null, $obj1->getType());
72
        $this->assertEquals(null, $obj1->getVisible());
73
        $this->assertEquals(null, $obj1->getWidth());
74
        $this->assertEquals(null, $obj1->getZIndex());
75
        $this->assertEquals(null, $obj1->getZoneAxis());
76
        $this->assertEquals(null, $obj1->getZones());
77
78
        $obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(false);
79
80
        $this->assertEquals(false, $obj0->getAllowPointSelect());
81
        $this->assertEquals(null, $obj0->getAnimationLimit());
82
        $this->assertEquals("#ffffff", $obj0->getBorderColor());
83
        $this->assertEquals(1, $obj0->getBorderWidth());
84
        $this->assertEquals(["50%", "50%"], $obj0->getCenter());
85
        $this->assertEquals(null, $obj0->getClassName());
86
        $this->assertEquals(null, $obj0->getColorIndex());
87
        $this->assertEquals(null, $obj0->getColors());
88
        $this->assertEquals(null, $obj0->getCursor());
89
        $this->assertEquals(null, $obj0->getData());
90
        $this->assertEquals(null, $obj0->getDataLabels());
91
        $this->assertEquals(0, $obj0->getDepth());
92
        $this->assertEquals(null, $obj0->getDescription());
93
        $this->assertEquals(true, $obj0->getEnableMouseTracking());
94
        $this->assertEquals(null, $obj0->getEvents());
95
        $this->assertEquals(null, $obj0->getExposeElementToA11y());
96
        $this->assertEquals(null, $obj0->getFindNearestPointBy());
97
        $this->assertEquals(false, $obj0->getGetExtremesFromAll());
98
        $this->assertEquals(null, $obj0->getHeight());
99
        $this->assertEquals(null, $obj0->getId());
100
        $this->assertEquals(null, $obj0->getIndex());
101
        $this->assertEquals(null, $obj0->getKeys());
102
        $this->assertEquals(null, $obj0->getLegendIndex());
103
        $this->assertEquals(null, $obj0->getLinkedTo());
104
        $this->assertEquals(80, $obj0->getMinSize());
105
        $this->assertEquals(null, $obj0->getName());
106
        $this->assertEquals(null, $obj0->getPoint());
107
        $this->assertEquals(null, $obj0->getPointDescriptionFormatter());
108
        $this->assertEquals(true, $obj0->getReversed());
109
        $this->assertEquals(false, $obj0->getSelected());
110
        $this->assertEquals(false, $obj0->getShadow());
111
        $this->assertEquals(false, $obj0->getShowInLegend());
112
        $this->assertEquals(null, $obj0->getSkipKeyboardNavigation());
113
        $this->assertEquals(10, $obj0->getSlicedOffset());
114
        $this->assertEquals(null, $obj0->getStates());
115
        $this->assertEquals(false, $obj0->getStickyTracking());
116
        $this->assertEquals(null, $obj0->getTooltip());
117
        $this->assertEquals(null, $obj0->getType());
118
        $this->assertEquals(true, $obj0->getVisible());
119
        $this->assertEquals("90%", $obj0->getWidth());
120
        $this->assertEquals(null, $obj0->getZIndex());
121
        $this->assertEquals("y", $obj0->getZoneAxis());
122
        $this->assertEquals(null, $obj0->getZones());
123
    }
124
125
    /**
126
     * Tests the clear() method.
127
     *
128
     * @return void
129
     */
130
    public function testClear() {
131
132
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(false);
133
134
        $obj->newDataLabels();
135
        $obj->newEvents();
136
        $obj->newPoint();
137
        $obj->newStates();
138
139
        $obj->clear();
140
141
        $res = ["dataLabels" => [], "events" => [], "point" => [], "states" => []];
142
        $this->assertEquals($res, $obj->toArray());
143
    }
144
145
    /**
146
     * Tests the jsonSerialize() method.
147
     *
148
     * @return void
149
     */
150
    public function testJsonSerialize() {
151
152
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(true);
153
154
        $this->assertEquals([], $obj->jsonSerialize());
155
    }
156
157
    /**
158
     * Tests the newDataLabels() method.
159
     *
160
     * @return void.
161
     */
162
    public function testNewDataLabels() {
163
164
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(false);
165
166
        $res = $obj->newDataLabels();
167
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsDataLabels::class, $res);
168
    }
169
170
    /**
171
     * Tests the newEvents() method.
172
     *
173
     * @return void.
174
     */
175
    public function testNewEvents() {
176
177
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(false);
178
179
        $res = $obj->newEvents();
180
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsEvents::class, $res);
181
    }
182
183
    /**
184
     * Tests the newPoint() method.
185
     *
186
     * @return void.
187
     */
188
    public function testNewPoint() {
189
190
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(false);
191
192
        $res = $obj->newPoint();
193
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsPoint::class, $res);
194
    }
195
196
    /**
197
     * Tests the newStates() method.
198
     *
199
     * @return void.
200
     */
201
    public function testNewStates() {
202
203
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(false);
204
205
        $res = $obj->newStates();
206
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsStates::class, $res);
207
    }
208
209
    /**
210
     * Tests the toArray() method.
211
     *
212
     * @return void
213
     */
214
    public function testToArray() {
215
216
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPyramid(true);
217
218
        $obj->setAllowPointSelect(0);
219
220
        $res1 = ["allowPointSelect" => 0];
221
        $this->assertEquals($res1, $obj->toArray());
222
223
        $obj->setAnimationLimit(28);
224
225
        $res2 = ["allowPointSelect" => 0, "animationLimit" => 28];
226
        $this->assertEquals($res2, $obj->toArray());
227
228
        $obj->setBorderColor("97da935a74593c55d78be9d1295aa994");
229
230
        $res3 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994"];
231
        $this->assertEquals($res3, $obj->toArray());
232
233
        $obj->setBorderWidth(31);
234
235
        $res4 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31];
236
        $this->assertEquals($res4, $obj->toArray());
237
238
        $obj->setCenter(["center" => "adb115059e28d960fa8badfac5516667"]);
239
240
        $res5 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"]];
241
        $this->assertEquals($res5, $obj->toArray());
242
243
        $obj->setClassName("6f66e878c62db60568a3487869695820");
244
245
        $res6 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820"];
246
        $this->assertEquals($res6, $obj->toArray());
247
248
        $obj->setColorIndex(33);
249
250
        $res7 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33];
251
        $this->assertEquals($res7, $obj->toArray());
252
253
        $obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]);
254
255
        $res8 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]];
256
        $this->assertEquals($res8, $obj->toArray());
257
258
        $obj->setCursor("crosshair");
259
260
        $res9 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair"];
261
        $this->assertEquals($res9, $obj->toArray());
262
263
        $obj->setData(["data" => "8d777f385d3dfec8815d20f7496026dc"]);
264
265
        $res10 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"]];
266
        $this->assertEquals($res10, $obj->toArray());
267
268
        $obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsDataLabels());
269
270
        $res11 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => []];
271
        $this->assertEquals($res11, $obj->toArray());
272
273
        $obj->setDepth(18);
274
275
        $res12 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18];
276
        $this->assertEquals($res12, $obj->toArray());
277
278
        $obj->setDescription("67daf92c833c41c95db874e18fcb2786");
279
280
        $res13 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786"];
281
        $this->assertEquals($res13, $obj->toArray());
282
283
        $obj->setEnableMouseTracking(1);
284
285
        $res14 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1];
286
        $this->assertEquals($res14, $obj->toArray());
287
288
        $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsEvents());
289
290
        $res15 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => []];
291
        $this->assertEquals($res15, $obj->toArray());
292
293
        $obj->setExposeElementToA11y(0);
294
295
        $res16 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0];
296
        $this->assertEquals($res16, $obj->toArray());
297
298
        $obj->setFindNearestPointBy("xy");
299
300
        $res17 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy"];
301
        $this->assertEquals($res17, $obj->toArray());
302
303
        $obj->setGetExtremesFromAll(0);
304
305
        $res18 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0];
306
        $this->assertEquals($res18, $obj->toArray());
307
308
        $obj->setHeight(32);
309
310
        $res19 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32];
311
        $this->assertEquals($res19, $obj->toArray());
312
313
        $obj->setId("b80bb7740288fda1f201890375a60c8f");
314
315
        $res20 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f"];
316
        $this->assertEquals($res20, $obj->toArray());
317
318
        $obj->setIndex(63);
319
320
        $res21 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63];
321
        $this->assertEquals($res21, $obj->toArray());
322
323
        $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]);
324
325
        $res22 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]];
326
        $this->assertEquals($res22, $obj->toArray());
327
328
        $obj->setLegendIndex(94);
329
330
        $res23 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94];
331
        $this->assertEquals($res23, $obj->toArray());
332
333
        $obj->setLinkedTo("914fab47afc86331ec62837807a29419");
334
335
        $res24 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419"];
336
        $this->assertEquals($res24, $obj->toArray());
337
338
        $obj->setMinSize(40);
339
340
        $res25 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40];
341
        $this->assertEquals($res25, $obj->toArray());
342
343
        $obj->setName("b068931cc450442b63f5b3d276ea4297");
344
345
        $res26 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297"];
346
        $this->assertEquals($res26, $obj->toArray());
347
348
        $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsPoint());
349
350
        $res27 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => []];
351
        $this->assertEquals($res27, $obj->toArray());
352
353
        $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36");
354
355
        $res28 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"];
356
        $this->assertEquals($res28, $obj->toArray());
357
358
        $obj->setReversed(1);
359
360
        $res29 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1];
361
        $this->assertEquals($res29, $obj->toArray());
362
363
        $obj->setSelected(0);
364
365
        $res30 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0];
366
        $this->assertEquals($res30, $obj->toArray());
367
368
        $obj->setShadow(1);
369
370
        $res31 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1];
371
        $this->assertEquals($res31, $obj->toArray());
372
373
        $obj->setShowInLegend(1);
374
375
        $res32 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1];
376
        $this->assertEquals($res32, $obj->toArray());
377
378
        $obj->setSkipKeyboardNavigation(0);
379
380
        $res33 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0];
381
        $this->assertEquals($res33, $obj->toArray());
382
383
        $obj->setSlicedOffset(17);
384
385
        $res34 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17];
386
        $this->assertEquals($res34, $obj->toArray());
387
388
        $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Pyramid\HighchartsStates());
389
390
        $res35 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => []];
391
        $this->assertEquals($res35, $obj->toArray());
392
393
        $obj->setStickyTracking(0);
394
395
        $res36 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0];
396
        $this->assertEquals($res36, $obj->toArray());
397
398
        $obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]);
399
400
        $res37 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]];
401
        $this->assertEquals($res37, $obj->toArray());
402
403
        $obj->setType("waterfall");
404
405
        $res38 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "type" => "waterfall"];
406
        $this->assertEquals($res38, $obj->toArray());
407
408
        $obj->setVisible(1);
409
410
        $res39 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "type" => "waterfall", "visible" => 1];
411
        $this->assertEquals($res39, $obj->toArray());
412
413
        $obj->setWidth(92);
414
415
        $res40 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "type" => "waterfall", "visible" => 1, "width" => 92];
416
        $this->assertEquals($res40, $obj->toArray());
417
418
        $obj->setZIndex(23);
419
420
        $res41 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "type" => "waterfall", "visible" => 1, "width" => 92, "zIndex" => 23];
421
        $this->assertEquals($res41, $obj->toArray());
422
423
        $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad");
424
425
        $res42 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "type" => "waterfall", "visible" => 1, "width" => 92, "zIndex" => 23, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"];
426
        $this->assertEquals($res42, $obj->toArray());
427
428
        $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]);
429
430
        $res43 = ["allowPointSelect" => 0, "animationLimit" => 28, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 31, "center" => ["center" => "adb115059e28d960fa8badfac5516667"], "className" => "6f66e878c62db60568a3487869695820", "colorIndex" => 33, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 18, "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "height" => 32, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 63, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 94, "linkedTo" => "914fab47afc86331ec62837807a29419", "minSize" => 40, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "reversed" => 1, "selected" => 0, "shadow" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "slicedOffset" => 17, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "type" => "waterfall", "visible" => 1, "width" => 92, "zIndex" => 23, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]];
431
        $this->assertEquals($res43, $obj->toArray());
432
    }
433
434
}
435