public function testGetFirstNoKey() { $c = new DotArray($this->arr); $c->set('foo', array('foo', 'bar', 'baz')); $this->assertSame('foo', $c->getFirst('foo')); }