Code Duplication    Length = 7-7 lines in 2 locations

spec/eZ/Publish/Core/MVC/Symfony/Cache/Http/ResponseConfigurator/ConfigurableResponseCacheConfiguratorSpec.php 2 locations

@@ 69-75 (lines=7) @@
66
        $response->setSharedMaxAge(30)->shouldHaveBeenCalled();
67
    }
68
69
    function it_does_not_add_tags_if_viewcache_is_disabled(Response $response, ResponseHeaderBag $headers)
70
    {
71
        $this->beConstructedWith(false, false, 0);
72
        $this->addTags($response, ['foo-1', 'bar-2']);
73
74
        $headers->set('xkey', ['foo-1', 'bar-2'])->shouldNotHaveBeenCalled();
75
    }
76
77
    function it_adds_tags_to_the_xkey_header(Response $response, ResponseHeaderBag $headers)
78
    {
@@ 77-83 (lines=7) @@
74
        $headers->set('xkey', ['foo-1', 'bar-2'])->shouldNotHaveBeenCalled();
75
    }
76
77
    function it_adds_tags_to_the_xkey_header(Response $response, ResponseHeaderBag $headers)
78
    {
79
        $this->beConstructedWith(false, false, 0);
80
        $this->addTags($response, ['foo-1', 'bar-2']);
81
82
        $headers->set('xkey', ['foo-1', 'bar-2'])->shouldNotHaveBeenCalled();
83
    }
84
}
85