@Override
  public MapSettings setProperty(String key, String value) {
    return (MapSettings) super.setProperty(key, value);
  }
@Test
  public void test_get_bad_float() {
    Settings settings = new MapSettings();
    settings.setProperty("foo", "bar");

    assertThatThrownBy(() -> settings.getFloat("foo"))
      .isInstanceOf(IllegalStateException.class)
      .hasMessage("The property 'foo' is not a float value");
  }