aboutsummaryrefslogtreecommitdiffstats
path: root/Test/Unit/Mock.php
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Unit/Mock.php')
-rw-r--r--Test/Unit/Mock.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/Test/Unit/Mock.php b/Test/Unit/Mock.php
index 71703dd..09d2013 100644
--- a/Test/Unit/Mock.php
+++ b/Test/Unit/Mock.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
/**
* Hoa
*
@@ -44,12 +46,11 @@ use Hoa\Test;
*
* Test suite of the mock iterator.
*
- * @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Mock extends Test\Unit\Suite
{
- public function case_classic()
+ public function case_classic(): void
{
$this
->given($iterator = new LUT\Mock())
@@ -59,7 +60,7 @@ class Mock extends Test\Unit\Suite
->isEmpty();
}
- public function case_recursive_mock_mock()
+ public function case_recursive_mock_mock(): void
{
$this
->when($iterator = new LUT\Recursive\Mock(new LUT\Mock()))
@@ -70,7 +71,7 @@ class Mock extends Test\Unit\Suite
->isFalse();
}
- public function case_recursive()
+ public function case_recursive(): void
{
$this
->given(