@Test
public void test_to_string_one_int_field() {

    class IntStatus { int field = 123;}
    assertThat(new StatusMapper("metric_name", new IntStatus()).toString()).contains("" +
            "# HELP datashare The datashare resources status\n" +
            "# TYPE metric_name gauge\n" +
            "metric_name{resource=\"field\"} 123 1593531060000\n");
}