Code Duplication    Length = 7-7 lines in 3 locations

Tests/Client/StatsdClientTest.php 3 locations

@@ 24-30 (lines=7) @@
21
        $this->statsdClient = new StatsdClient($this->mockConnection, 'test');
22
    }
23
24
    public function testIncrement()
25
    {
26
        $mockKey = uniqid();
27
        $this->mockConnection->shouldReceive('send')->once()->with('test.'.$mockKey . ':1|c');
28
29
        $this->statsdClient->increment($mockKey);
30
    }
31
32
    public function testDecrement()
33
    {
@@ 32-38 (lines=7) @@
29
        $this->statsdClient->increment($mockKey);
30
    }
31
32
    public function testDecrement()
33
    {
34
        $mockKey = uniqid();
35
        $this->mockConnection->shouldReceive('send')->once()->with('test.'.$mockKey . ':-1|c');
36
37
        $this->statsdClient->decrement($mockKey);
38
    }
39
40
    public function testCount()
41
    {
@@ 40-46 (lines=7) @@
37
        $this->statsdClient->decrement($mockKey);
38
    }
39
40
    public function testCount()
41
    {
42
        $mockKey = uniqid();
43
        $this->mockConnection->shouldReceive('send')->once()->with('test.'.$mockKey . ':1234|c');
44
45
        $this->statsdClient->count($mockKey, 1234);
46
    }
47
}
48