public function testLast() { $array = array('foo', 'bar'); $list = new MutableMap('foo', 'bar'); $this->assertEquals(end($array), $list->last()); }