Code Duplication    Length = 10-10 lines in 2 locations

tests/Functional/DiscoveredClientsTest.php 2 locations

@@ 20-29 (lines=10) @@
17
18
class DiscoveredClientsTest extends WebTestCase
19
{
20
    public function testDiscoveredClient(): void
21
    {
22
        $container = $this->getContainer(false);
23
24
        $this->assertTrue($container->has('httplug.auto_discovery.auto_discovered_client'));
25
26
        $service = $container->get('httplug.auto_discovery.auto_discovered_client');
27
28
        $this->assertInstanceOf(HttpClient::class, $service);
29
    }
30
31
    public function testDiscoveredAsyncClient(): void
32
    {
@@ 31-40 (lines=10) @@
28
        $this->assertInstanceOf(HttpClient::class, $service);
29
    }
30
31
    public function testDiscoveredAsyncClient(): void
32
    {
33
        $container = $this->getContainer(false);
34
35
        $this->assertTrue($container->has('httplug.auto_discovery.auto_discovered_async'));
36
37
        $service = $container->get('httplug.auto_discovery.auto_discovered_async');
38
39
        $this->assertInstanceOf(HttpAsyncClient::class, $service);
40
    }
41
42
    public function testDiscoveredClientWithProfilingEnabled(): void
43
    {