@Test
public void isValid() throws InvalidMapBoxStyleException, JSONException {

    // Test config with no visible properties
    InfoWindowConfig config1 = new InfoWindowConfig();
    Assert.assertFalse(config1.isValid());
    // Test a valid config
    InfoWindowConfig config2 = new InfoWindowConfig();
    config2.addVisibleProperty("test", "test");
    Assert.assertTrue(config2.isValid());
}