@Test
public void testResolveNameShouldReturnWhatSoapMessageNameResolverReturns() {

    //GIVEN
    given(soapMessageNameResolver.resolve(entity, parameters)).willReturn("name");
    //WHEN
    String result = underTest.resolveName(parameters);
    //THEN
    assertEquals("name", result);
}