@Test
public void testMandatorySettings() {

  Exception actualEx = null;
  try {
    BatchingCallSettings.newBuilder(null);
  } catch (Exception ex) {
    actualEx = ex;
  }
  assertThat(actualEx).isInstanceOf(NullPointerException.class);
  actualEx = null;
  try {
    BatchingCallSettings.newBuilder(SQUARER_BATCHING_DESC_V2).build();
  } catch (Exception ex) {
    actualEx = ex;
  }
  assertThat(actualEx).isInstanceOf(IllegalStateException.class);
}