public function testJoin() { $list = new ArrayList(array('hello', ' ', 'world', '!')); $this->assertEquals('hello world!', $list->join('')); }