File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
tests/unit/Framework/MockObject Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 9
9
*/
10
10
namespace PHPUnit \Framework \MockObject ;
11
11
12
+ use PHPUnit \Framework \Attributes \CoversClass ;
12
13
use PHPUnit \Framework \TestCase ;
13
14
use PHPUnit \TestFixture \MockObject \AnotherClassUsingConfigurableMethods ;
14
15
use PHPUnit \TestFixture \MockObject \ClassUsingConfigurableMethods ;
15
16
use PHPUnit \TestFixture \MockObject \ReinitializeConfigurableMethods ;
16
17
use SebastianBergmann \Type \SimpleType ;
17
18
19
+ #[CoversClass(Api::class)]
18
20
final class ConfigurableMethodsTest extends TestCase
19
21
{
20
22
public function testTwoClassesUsingConfigurableMethodsDontInterfere (): void
Original file line number Diff line number Diff line change 11
11
12
12
use function class_exists ;
13
13
use function file_get_contents ;
14
+ use PHPUnit \Framework \Attributes \CoversClass ;
14
15
use PHPUnit \Framework \TestCase ;
15
16
use PHPUnit \TestFixture \MockObject \MockClassWithConfigurableMethods ;
16
17
use SebastianBergmann \Type \Type ;
17
18
19
+ #[CoversClass(MockClass::class)]
18
20
final class MockClassTest extends TestCase
19
21
{
20
22
public function testGenerateClassFromSource (): void
Original file line number Diff line number Diff line change 9
9
*/
10
10
namespace PHPUnit \Framework \MockObject ;
11
11
12
+ use PHPUnit \Framework \Attributes \CoversClass ;
12
13
use PHPUnit \Framework \Attributes \Small ;
13
14
use PHPUnit \Framework \TestCase ;
14
15
use SebastianBergmann \Type \UnknownType ;
15
16
17
+ #[CoversClass(MockMethod::class)]
16
18
#[Small]
17
19
final class MockMethodTest extends TestCase
18
20
{
You can’t perform that action at this time.
0 commit comments