@BeforeClass
  public static void startServer() throws AndroidSdkException {
    SelendroidStandaloneDriver driver = mock(SelendroidStandaloneDriver.class);
    when(driver.getCpuArch()).thenReturn("x86");
    when(driver.getOsVersion()).thenReturn("osx");
    when(driver.getServerVersion()).thenReturn("dev");
    SelendroidConfiguration conf = new SelendroidConfiguration();
    conf.setPort(port);
    server = new SelendroidStandaloneServer(conf, driver);
    server.start();
  }
TODO ddary: revisit when looking at buck
selendroid-standalone/src/test/java/io/selendroid/standalone/server/SelendroidStatusHandlerTest.java