@Test
public void test_to_string_one_Integer_field() {

    class IntStatus { Integer field = 456;}
    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\"} 456 1593531060000\n");
}