File "CoveredClass.php"

Full Path: /www/wwwroot/shphe-en.com/smsapi/api_sdk/vendor/phpunit/phpunit/tests/_files/CoveredClass.php
File size: 587 bytes
MIME-type: --
Charset: utf-8

<?php
class CoveredParentClass
{
    private function privateMethod()
    {
    }

    protected function protectedMethod()
    {
        $this->privateMethod();
    }

    public function publicMethod()
    {
        $this->protectedMethod();
    }
}

class CoveredClass extends CoveredParentClass
{
    private function privateMethod()
    {
    }

    protected function protectedMethod()
    {
        parent::protectedMethod();
        $this->privateMethod();
    }

    public function publicMethod()
    {
        parent::publicMethod();
        $this->protectedMethod();
    }
}