33namespace LaunchDarkly \Impl \Integrations \Tests \Impl \Integrations ;
44
55use Exception ;
6+ use LaunchDarkly \Impl \Integrations \PHPRedisBigSegmentsStore ;
67use PHPUnit \Framework ;
7- use LaunchDarkly \Impl \Integrations \BigSegmentsStore ;
88use Psr \Log ;
99use Redis ;
1010
11- class BigSegmentsStoreTest extends Framework \TestCase
11+ class PHPRedisBigSegmentsStoreTest extends Framework \TestCase
1212{
1313 public function testGetMetadata (): void
1414 {
1515 $ now = time ();
1616 $ logger = new Log \NullLogger ();
1717
1818 $ connection = $ this ->createMock (Redis::class);
19- $ store = new BigSegmentsStore ($ connection , $ logger , []);
19+ $ store = new PHPRedisBigSegmentsStore ($ connection , $ logger , []);
2020
2121 $ connection ->expects ($ this ->once ())
2222 ->method ('get ' )
@@ -34,7 +34,7 @@ public function testGetMetadataWithException(): void
3434 $ logger = new Log \NullLogger ();
3535
3636 $ connection = $ this ->createMock (Redis::class);
37- $ store = new BigSegmentsStore ($ connection , $ logger , []);
37+ $ store = new PHPRedisBigSegmentsStore ($ connection , $ logger , []);
3838
3939 $ connection ->expects ($ this ->once ())
4040 ->method ('get ' )
@@ -52,7 +52,7 @@ public function testCanDetectInclusion(): void
5252 $ logger = new Log \NullLogger ();
5353
5454 $ connection = $ this ->createMock (Redis::class);
55- $ store = new BigSegmentsStore ($ connection , $ logger , []);
55+ $ store = new PHPRedisBigSegmentsStore ($ connection , $ logger , []);
5656
5757 $ connection ->expects ($ this ->exactly (2 ))
5858 ->method ('sMembers ' )
@@ -77,7 +77,7 @@ public function testCanDetectInclusionWithException(): void
7777 $ logger = new Log \NullLogger ();
7878
7979 $ connection = $ this ->createMock (Redis::class);
80- $ store = new BigSegmentsStore ($ connection , $ logger , []);
80+ $ store = new PHPRedisBigSegmentsStore ($ connection , $ logger , []);
8181
8282 $ connection ->expects ($ this ->exactly (2 ))
8383 ->method ('sMembers ' )
0 commit comments