Extension\MCallTest::testCall PHP Метод

testCall() публичный Метод

public testCall ( )
    public function testCall()
    {
        $t = new Mcall();
        $this->assertSame($t->testCall1(), 'hello public');
        $this->assertSame($t->testCall2(), 'hello protected');
        $this->assertSame($t->testCall3(), 'hello private');
        $this->assertSame($t->testCall4(2, 3), 5);
        $this->assertSame($t->testCall5(6, 7), 13);
        $this->assertSame($t->testCall6(4, 5), 9);
        $this->assertSame($t->testCall7(2, 3), 10);
        $this->assertSame($t->testCall8(6, 7), 26);
        $this->assertSame($t->testCall9(4, 5), 18);
        $this->assertSame($t->testCall10(), 'hello public');
        $this->assertSame($t->testCall11(), 'hello protected');
        $this->assertSame($t->testCall12(), 'hello private');
        $this->assertSame($t->testCall13(2, 3), 5);
        $this->assertSame($t->testCall14(6, 7), 13);
        $this->assertSame($t->testCall15(4, 5), 9);
    }