@Test
 public void testStartAndStopOpera() {
   runner = new OperaLauncherRunner(settings);
   runner.startOpera();
   assertTrue(runner.isOperaRunning());
   runner.stopOpera();
   assertFalse(runner.isOperaRunning());
 }
 @After
 public void afterEach() {
   if (runner != null && runner.isOperaRunning()) {
     runner.stopOpera();
     runner.shutdown();
     assertFalse(runner.isOperaRunning());
   }
 }
  @Test
  @Ignore(products = DESKTOP, value = "mzajaczkowski_watir_1_cleaned contains fix for this")
  public void testStartAndStopOperaTenTimes() {
    runner = new OperaLauncherRunner(settings);

    for (int i = 0; i < 10; i++) {
      runner.startOpera();
      assertTrue(runner.isOperaRunning());
      runner.stopOpera();
      assertFalse(runner.isOperaRunning());
    }

    runner.shutdown();
  }
 @Test
 public void testDefaultIsOperaRunning() {
   runner = new OperaLauncherRunner(settings);
   assertFalse(runner.isOperaRunning());
 }
 @Test
 public void testConstructorWithSettingsArguments() {
   runner = new OperaLauncherRunner(settings);
   runner.startOpera();
   assertTrue(runner.isOperaRunning());
 }