@SuppressWarnings( "unchecked" )
@Test( expected = HMSRestException.class )
public void testRestartProxyOnUnsuccessfulExecOfScript()
    throws HMSRestException
{

    PowerMockito.mockStatic( ProcessUtil.class );
    when( ProcessUtil.executeCommand( ( any( List.class ) ) ) ).thenReturn( 1 );
    service.restartProxy( "100" );
}