@Test
public void performLogArchivingTest()
    throws Exception, IllegalArgumentException
{

    PowerMockito.mockStatic( HMSDebuggerComponent.class );
    BaseResponse responseMock = new BaseResponse();
    responseMock.setStatusCode( 200 );
    responseMock.setStatusMessage( "Hms debug logs archive will be created shortly at logs archive directory" );
    Mockito.doReturn( "logs archive directory" ).when( debuggerUtil ).archiveHmsDebugLogs( anyString(), anyString(),
                                                                                           anyString(), anyString(),
                                                                                           anyString(), anyString(),
                                                                                           anyString(), anyInt(),
                                                                                           Matchers.any( EventComponent.class ) );
    // HmsLocalRestServiceMgmt hmsLocalServerRestService = new HmsLocalRestServiceMgmt();
    when( debuggerUtil.archiveHmsDebugLogs( anyString(), anyString(), anyString(), anyString(), anyString(),
                                            anyString(), anyString(), anyInt(),
                                            Matchers.any( EventComponent.class ) ) ).thenReturn( "logs archive directory" );
    // Call to perform archiving for the host
    BaseResponse response = hmsLocalRestServiceMgmt.performLogArchiving( "N1", "100", HttpMethod.PUT );
    assertNotNull( response );
    assertEquals( response.getStatusCode(), responseMock.getStatusCode() );
}