PageRenderTime 27ms CodeModel.GetById 23ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/phpunit/phpunit/tests/_files/NamespaceCoverageCoversClassTest.php

https://bitbucket.org/alan_cordova/api-sb-map
PHP | 20 lines | 9 code | 0 blank | 11 comment | 0 complexity | c8aca2dafd7f838c8ad3a1a37494b2b1 MD5 | raw file
 1<?php
 2/**
 3 * @coversDefaultClass \Foo\CoveredClass
 4 */
 5class NamespaceCoverageCoversClassTest extends PHPUnit_Framework_TestCase
 6{
 7    /**
 8     * @covers ::privateMethod
 9     * @covers ::protectedMethod
10     * @covers ::publicMethod
11     * @covers \Foo\CoveredParentClass::privateMethod
12     * @covers \Foo\CoveredParentClass::protectedMethod
13     * @covers \Foo\CoveredParentClass::publicMethod
14     */
15    public function testSomething()
16    {
17        $o = new Foo\CoveredClass;
18        $o->publicMethod();
19    }
20}