Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Commit 71c529c

Browse files
committed
Adding @requires PHP 5.4.0 annotation on tests that covers getMockForTrait()
1 parent 57fc245 commit 71c529c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/GeneratorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public static function getMockForAbstractClassExpectsInvalidArgumentExceptionDat
115115

116116
/**
117117
* @covers PHPUnit_Framework_MockObject_Generator::getMockForTrait
118+
* @requires PHP 5.4.0
118119
*/
119120
public function testGetMockForTraitWithNonExistentMethodsAndNonAbstractMethods()
120121
{
@@ -132,6 +133,7 @@ public function testGetMockForTraitWithNonExistentMethodsAndNonAbstractMethods()
132133
/**
133134
* @dataProvider getMockForTraitExpectsInvalidArgumentExceptionDataprovider
134135
* @covers PHPUnit_Framework_MockObject_Generator::getMockForTrait
136+
* @requires PHP 5.4.0
135137
* @expectedException PHPUnit_Framework_Exception
136138
*/
137139
public function testGetMockForTraitExpectingInvalidArgumentException($traitName, $mockClassName)

0 commit comments

Comments
 (0)