@Test()
public void testGetLocalDatabaseUrlThrowException() {

  Properties ambariProperties = new Properties();
  Configuration conf = new Configuration(ambariProperties);
  exception.expect(RuntimeException.class);
  exception.expectMessage("Server DB Name is not configured!");
  conf.getLocalDatabaseUrl();
}