tests/PrintKeyValueTest.php
/**
     * testing that the return type of the method is string
     */
testing that the return type of the method is string
testing that the return type of the method is string
public function testIsString()
    {
        $obj = new PrintKeyValue("", "  ");
        $out = $obj->printKeyValues([[1, [2, [4]], 3]]);
        $this->assertTrue(is_string($out));
    }
public function testIsString ( ) { $ obj = new PrintKeyValue ( " " , " " ) ; $ out = $ obj -> printKeyValues ( [ [ 1 , [ 2 , [ 4 ] ] , 3 ] ] ) ; $ this -> assertTrue ( is_string ( $ out ) ) ; }
testing that the return type of the method is string
testing that the return type of the method is string