@Test public void testToString() { InconsistentProperty inconsistentProperty = createInconsistentProperty(); String result = inconsistentProperty.toString(); Assert.assertFalse(result.contains("Optional")); String expected = "InconsistentProperty{key=my_key, values=" + "no value set (workerHostname1:workerPort, workerHostname2:workerPort), " + "some_value (masterHostname1:port, masterHostname2:port)}"; Assert.assertEquals(expected, result); }
@Override public String toString() { return MoreObjects.toStringHelper(this) .add("key", mName) .add("values", formatValues(mValues)) .toString(); }
InconsistentProperty { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("key", mName) .add("values", formatValues(mValues)) .toString(); } }
InconsistentProperty { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("key", mName) .add("values", formatValues(mValues)) .toString(); } InconsistentProperty(); protected  InconsistentProperty(alluxio.grpc.InconsistentProperty inconsistentProperty); }
InconsistentProperty { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("key", mName) .add("values", formatValues(mValues)) .toString(); } InconsistentProperty(); protected  InconsistentProperty(alluxio.grpc.InconsistentProperty inconsistentProperty); String getName(); Map<Optional<String>, List<String>> getValues(); InconsistentProperty setName(String name); InconsistentProperty setValues(Map<Optional<String>, List<String>> values); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); alluxio.grpc.InconsistentProperty toProto(); static InconsistentProperty fromProto(
          alluxio.grpc.InconsistentProperty inconsistentProperty); }
InconsistentProperty { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("key", mName) .add("values", formatValues(mValues)) .toString(); } InconsistentProperty(); protected  InconsistentProperty(alluxio.grpc.InconsistentProperty inconsistentProperty); String getName(); Map<Optional<String>, List<String>> getValues(); InconsistentProperty setName(String name); InconsistentProperty setValues(Map<Optional<String>, List<String>> values); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); alluxio.grpc.InconsistentProperty toProto(); static InconsistentProperty fromProto(
          alluxio.grpc.InconsistentProperty inconsistentProperty);  }