@Test
public void shouldReturnAnInstanceOfCollectionMergingCookieProcessor() throws Exception {

    CollectionMergingCookieParamProcessor expected = mock(CollectionMergingCookieParamProcessor.class);
    whenNew(CollectionMergingCookieParamProcessor.class).withArguments("-").thenReturn(expected);
    ParamProcessor actual = ParamProcessors.newInstance(ParamType.COOKIE, "-");
    assertSame(expected, actual);
}