@Test
public void testEndpointsOption() {

  EndpointsOption testOption =
      EndpointsOption.makeVisibleNonFlagOption("t", "test", "TEST_VALUE", "test description");
  assertEquals("t", testOption.getShortName());
  assertEquals("test", testOption.getLongName());
  assertTrue(!testOption.isFlag());
  List<String> expectedLines = ImmutableList.of(
      "-t TEST_VALUE, --test=TEST_VALUE",
      "  test description");
  assertEquals(expectedLines, testOption.getHelpLines());
}