public function testToArray() { $expected = array(10, 10); $point = new Point(10, 10); $result = $point->toArray(); $this->assertEquals($expected, $result); }