def METHOD_NAME(self, runpath):
    """
    Test pre/post start methods when starting/stopping the driver
    explicitly, with this standalone driver set at async mode
    """
    driver = self.MyDriver(
        name="MyDriver", runpath=runpath, async_start=True
    )
    assert not driver.pre_start_called
    driver.start()
    assert driver.pre_start_called
    assert not driver.post_start_called
    driver.wait(driver.status.STARTED)
    assert driver.post_start_called
    assert not driver.pre_stop_called
    driver.stop()
    assert driver.pre_stop_called
    assert not driver.post_stop_called
    driver.wait(driver.status.STOPPED)
    assert driver.post_stop_called