### Question:
PixManagerServiceImpl extends AbstractCXFLoggingConfigurerClient implements PixManagerService { @Override public MCCIIN000002UV01 pixManagerPRPAIN201304UV02(PRPAIN201304UV02 body) { try (PIXManagerPortTypeProxy port = createPort()) { final MCCIIN000002UV01 pixManagerPRPAIN201304UV02 = port .pixManagerPRPAIN201304UV02(body); return pixManagerPRPAIN201304UV02; } catch (final Exception e) { throw toPixManagerServiceException(e); } } PixManagerServiceImpl(String endpointAddress); @Override MCCIIN000002UV01 pixManagerPRPAIN201301UV02(PRPAIN201301UV02 body); @Override MCCIIN000002UV01 pixManagerPRPAIN201302UV02(PRPAIN201302UV02 body); @Override MCCIIN000002UV01 pixManagerPRPAIN201304UV02(PRPAIN201304UV02 body); @Override PRPAIN201310UV02 pixManagerPRPAIN201309UV02(PRPAIN201309UV02 body);  }### Answer:
@Test public void testPixManagerPRPAIN201304UV02() { final PRPAIN201304UV02 pRPAIN201304UV02Mock = mock(PRPAIN201304UV02.class); final MCCIIN000002UV01 mCCIIN000002UV01Mock = mock(MCCIIN000002UV01.class); when( pIXManagerPortTypeMock .pixManagerPRPAIN201304UV02(pRPAIN201304UV02Mock)) .thenReturn(mCCIIN000002UV01Mock); final MCCIIN000002UV01 actualObj = sut .pixManagerPRPAIN201304UV02(pRPAIN201304UV02Mock); assertEquals(mCCIIN000002UV01Mock, actualObj); }
@SuppressWarnings("unchecked") @Test public void testPixManagerPRPAIN201304UV02_Throws_PixManagerServiceException() { thrown.expect(PixManagerServiceException.class); final PRPAIN201304UV02 pRPAIN201304UV02Mock = mock(PRPAIN201304UV02.class); final MCCIIN000002UV01 mCCIIN000002UV01Mock = mock(MCCIIN000002UV01.class); when( pIXManagerPortTypeMock .pixManagerPRPAIN201304UV02(pRPAIN201304UV02Mock)) .thenThrow(Exception.class); final MCCIIN000002UV01 actualObj = sut .pixManagerPRPAIN201304UV02(pRPAIN201304UV02Mock); assertEquals(mCCIIN000002UV01Mock, actualObj); }