### Question:
BatchRecorderSdk implements BatchRecorder { @Override public void record() { } BatchRecorderSdk(String... keyValuePairs); @Override BatchRecorder put(LongValueRecorder valueRecorder, long value); @Override BatchRecorder put(DoubleValueRecorder valueRecorder, double value); @Override BatchRecorder put(LongCounter counter, long value); @Override BatchRecorder put(DoubleCounter counter, double value); @Override BatchRecorder put(LongUpDownCounter upDownCounter, long value); @Override BatchRecorder put(DoubleUpDownCounter upDownCounter, double value); @Override void record();  }### Answer:
@Test void batchRecorder_badLabelSet() { assertThrows( IllegalArgumentException.class, () -> testSdk.newBatchRecorder("key").record(), "key/value"); }