public function testLowerCaseFirst() { $upperCase = _String::lcfirst(); $data = 'AGAsg4'; $this->assertInstanceOf(StringLowerCaseFirst::class, $upperCase); $this->assertInstanceOf(AbstractStringNode::class, $upperCase); $this->assertEquals('aGAsg4', $upperCase($data)); }
/** * @return AbstractNode */ public function AbstractStringNode() { return $this->then(_String::lcfirst()); }