hadoop-ozone/client/src/test/java/org/apache/hadoop/ozone/client/TestHddsClientUtils.java
@Test
  public void testMissingScmClientAddress() {
    final Configuration conf = new OzoneConfiguration();
    thrown.expect(IllegalArgumentException.class);
    getScmAddressForClients(conf);
  }
/**
   * Verify client endpoint lookup failure if it is not configured.
   */
Verify client endpoint lookup failure if it is not configured.
Verify client endpoint lookup failure if it is not configured .
@Test
  public void testMissingScmClientAddress() {
    final Configuration conf = new OzoneConfiguration();
    thrown.expect(IllegalArgumentException.class);
    getScmAddressForClients(conf);
  }
@ Test public void testMissingScmClientAddress ( ) { final Configuration conf = new OzoneConfiguration ( ) ; thrown . expect ( IllegalArgumentException . class ) ; getScmAddressForClients ( conf ) ; }
Verify client endpoint lookup failure if it is not configured.
Verify client endpoint lookup failure if it is not configured .