public function paintMethodEnd($method)
    {
        if ($this->fail || $this->error || ! $this->pass) {
        } else {
            $this->listener->write(
                        '{status:"pass",message:"' . $this->message . '",group:"' .
                        $this->group . '",case:"' . $this->case . '",method:"' .
                        $this->method . '"}');
        }
    }
public function paintMethodEnd($method)
    {
        if ($this->fail || $this->error || ! $this->pass) {
        } else {
            $this->listener->write(
                        '{status:"pass",message:"' . $this->message . '",group:"' .
                        $this->group . '",case:"' . $this->case . '",method:"' .
                        $this->method . '"}');
        }
    }
public function paintMethodEnd ( $ method ) { if ( $ this -> fail || $ this -> error || ! $ this -> pass ) { } else { $ this -> listener -> write ( '{status:"pass",message:"' . $ this -> message . '",group:"' . $ this -> group . '",case:"' . $ this -> case . '",method:"' . $ this -> method . '"}' ) ; } }
Only send one message if the test passes, after that suppress the message.

@param string $test_name   Name of test that is ending.
Only send one message if the test passes after that suppress the message .