@Test
/*
 Test to validate execute method. This is a happy path since heart beat file is emited as soon
 as test case starts, and postrestorehook completes execution once the child process completes
 execution. Test fails in case of any exception.
*/
public void testPostRestoreHookExecuteHappyPath() throws Exception {

    Injector inject = Guice.createInjector(new TestModule());
    IPostRestoreHook postRestoreHook = inject.getInstance(IPostRestoreHook.class);
    IConfiguration configuration = inject.getInstance(IConfiguration.class);
    startHeartBeatThreadWithDelay(
            0,
            configuration.getPostRestoreHookHeartbeatFileName(),
            configuration.getPostRestoreHookDoneFileName());
    postRestoreHook.execute();
}