function it_should_throw_an_exception_if_filter_has_duplicated_name()
{
$filter = 'Ikwattro\\GuzzleStereo\\Filter\\StatusCode';
$this->addFilter($filter);
$filter2 = 'Ikwattro\\GuzzleStereo\\Filter\\StatusCode';
$this->shouldThrow('Ikwattro\\GuzzleStereo\\Exception\\RecorderException')->duringAddFilter($filter2);
}