14
14
/**
15
15
* Test subject.
16
16
*/
17
- class InMemoryTestRepository extends InMemoryRepository
17
+ class TestRepository extends InMemoryRepository
18
18
{
19
19
public function __construct ()
20
20
{
@@ -27,7 +27,7 @@ public function setItems(array $items): void
27
27
}
28
28
}
29
29
30
- class InMemoryRepositoryTest extends TestCase
30
+ class RepositoryTest extends TestCase
31
31
{
32
32
/**
33
33
* @var Counter[]
@@ -68,7 +68,7 @@ public function __construct()
68
68
public function testCollectAndCount (): void
69
69
{
70
70
// Given
71
- $ repository = new InMemoryTestRepository ();
71
+ $ repository = new TestRepository ();
72
72
$ repository ->setItems ($ this ->items );
73
73
74
74
// When
@@ -80,13 +80,13 @@ public function testCollectAndCount(): void
80
80
}
81
81
82
82
/**
83
- * @covers \GeekCell\Ddd\Infrastructure\InMemoryRepository ::paginate
84
- * @covers \GeekCell\Ddd\Infrastructure\InMemoryRepository ::count
83
+ * @covers \GeekCell\Ddd\Infrastructure\Repository ::paginate
84
+ * @covers \GeekCell\Ddd\Infrastructure\Repository ::count
85
85
*/
86
86
public function testPaginateAndCount (): void
87
87
{
88
88
// Given
89
- $ repository = new InMemoryTestRepository ();
89
+ $ repository = new TestRepository ();
90
90
$ repository ->setItems ($ this ->items );
91
91
92
92
// When
@@ -100,7 +100,7 @@ public function testPaginateAndCount(): void
100
100
public function testGetIterator (): void
101
101
{
102
102
// Given
103
- $ repository = new InMemoryTestRepository ();
103
+ $ repository = new TestRepository ();
104
104
$ repository ->setItems ($ this ->items );
105
105
$ collection = $ repository ->collect ();
106
106
0 commit comments