@Test
public void testSubmit() throws Exception {

    String gaugeName = "gaugeName";
    double value = 10;
    this.gaugeService.submit(gaugeName, value);
    //get
    gaugeName = LookoutSpringBootMetricsImpl.LOOKOUT_GAUGE_PREFIX + gaugeName;
    Metric metric = this.lookoutRegistryMetricReader.findOne(gaugeName);
    assertEquals(value, metric.getValue());
}