@Test
public void testWithNoStats() throws Exception {

    String actualJson = CloudWatchEmbeddedMetricsReporter.getCloudWatchEmbeddedMetricsJson("nextdoor",
            timestamp,
            Collections.emptyMap(),
            Collections.emptyList(),
            gson);
    String expectedJson = IOUtils.toString(
            new InputStreamReader(this.getClass().getResourceAsStream("empty_metrics.json"), "UTF-8"));
    assertEquals(expectedJson, actualJson);
}