@Test
public void testToString() {

  RetrySettings retrySettings = RetrySettings.newBuilder().build();
  Set<StatusCode.Code> retryableCodes = ImmutableSet.of(StatusCode.Code.DEADLINE_EXCEEDED);
  UnaryCallSettings unaryCallSettings =
      UnaryCallSettings.newUnaryCallSettingsBuilder()
          .setRetrySettings(retrySettings)
          .setRetryableCodes(retryableCodes)
          .build();
  assertThat(unaryCallSettings.toString()).contains("retryableCodes=" + retryableCodes);
  assertThat(unaryCallSettings.toString()).contains("retrySettings=" + retrySettings);
}