@Test
public void setParamsEncodedShouldSetEncodedOnAllParamConfigs() throws Exception {

    MethodConfigBuilder toTest = newToTest();
    assertSame(toTest, toTest.setParamsEncoded(true));
    verify(mockParamConfigBuilder1).setEncoded(true);
    verify(mockParamConfigBuilder2).setEncoded(true);
}