StringTest::testRightIdentityElement PHP Method

testRightIdentityElement() public method

    public function testRightIdentityElement()
    {
        $this->forAll(Generator\string())->then(function ($string) {
            $this->assertEquals($string, string_concatenation($string, ''), "Concatenating '{$string}' to ''");
        });
    }