Exemple #1
0
 public function testLowerCase()
 {
     $lowerCase = _String::lower_case();
     $data = 'aGasG4';
     $this->assertInstanceOf(StringLowerCase::class, $lowerCase);
     $this->assertInstanceOf(AbstractStringNode::class, $lowerCase);
     $this->assertEquals('agasg4', $lowerCase($data));
 }
Exemple #2
0
 /**
  * @return AbstractStringNode
  */
 public function lower_case()
 {
     return $this->then(_String::lower_case());
 }