@Test
public void testHandshakeOnSuccessCase()
    throws Exception
{

    PowerMockito.mockStatic( HmsConfigHolder.class );
    when( HmsConfigHolder.getProperty( any( String.class ), any( String.class ) ) ).thenReturn( "false" );
    PowerMockito.mockStatic( OobUtil.class );
    when( OobUtil.getProperty( any( String.class ), any( String.class ),
                               any( String.class ) ) ).thenReturn( "192.168.100.40" ).thenReturn( "192.168.100.108" );
    HMSManagementRestService service = new HMSManagementRestService();
    BaseResponse response = service.handshake( "192.168.100.108", "VRM" );
    assertNotNull( response );
    assertEquals( response.getStatusCode().intValue(), 202 );
}