@@ -27,7 +27,7 @@ protected function setUp()
2727 $ this ->coverage = new CodeCoverage ;
2828 }
2929
30- public function testConstructor ()
30+ public function testCanBeConstructedWithoutGivenFilterObject ()
3131 {
3232 $ this ->assertAttributeInstanceOf (
3333 Xdebug::class,
@@ -42,7 +42,7 @@ public function testConstructor()
4242 );
4343 }
4444
45- public function testConstructor2 ()
45+ public function testCanBeConstructedWithGivenFilterObject ()
4646 {
4747 $ filter = new Filter ;
4848 $ coverage = new CodeCoverage (null , $ filter );
@@ -59,31 +59,31 @@ public function testConstructor2()
5959 /**
6060 * @expectedException SebastianBergmann\CodeCoverage\Exception
6161 */
62- public function testStartThrowsExceptionForInvalidArgument ()
62+ public function testCannotStartWithInvalidArgument ()
6363 {
6464 $ this ->coverage ->start (null , null );
6565 }
6666
6767 /**
6868 * @expectedException SebastianBergmann\CodeCoverage\Exception
6969 */
70- public function testStopThrowsExceptionForInvalidArgument ()
70+ public function testCannotStopWithInvalidFirstArgument ()
7171 {
7272 $ this ->coverage ->stop (null );
7373 }
7474
7575 /**
7676 * @expectedException SebastianBergmann\CodeCoverage\Exception
7777 */
78- public function testStopThrowsExceptionForInvalidArgument2 ()
78+ public function testCannotStopWithInvalidSecondArgument ()
7979 {
8080 $ this ->coverage ->stop (true , null );
8181 }
8282
8383 /**
8484 * @expectedException SebastianBergmann\CodeCoverage\Exception
8585 */
86- public function testAppendThrowsExceptionForInvalidArgument ()
86+ public function testCannotAppendWithInvalidArgument ()
8787 {
8888 $ this ->coverage ->append ([], null );
8989 }
0 commit comments