@Test
public void reportsBooleanGauges() throws Exception {

    reporter.report(
            map("gauge", () -> true),
            map(),
            map(),
            map(),
            map());
    assertThat(nextValues(receiver)).containsExactly(1d);
    reporter.report(
            map("gauge", () -> false),
            map(),
            map(),
            map(),
            map());
    assertThat(nextValues(receiver)).containsExactly(0d);
}