XPipeFiremanDependency implements FiremanDependency { @Override public String getDatabaseDomainName() { return Environment.getInstance().getDatabaseDomainName(); }  @Override List<String> getAppIds(); @Override String getDatabaseDomainName(); @Override ForceSwitchableDataSource getDataSource(); @Override int mhaSwitchMaxExecuteTimeoutS(); @Override boolean openAvailableCheckTask(); @Override int getOrder();  }
@Test public void getDatabaseDomainName() { Assert.assertNotNull(dependency); Assert.assertTrue(dependency instanceof XPipeFiremanDependency); Assert.assertEquals(XPipeFiremanDependency.Environment.getInstance().getDatabaseDomainName(), dependency.getDatabaseDomainName()); }