@Test(dataProvider = "setVariable")
public void testSetVariable(String first, String second, boolean expected) {

    ConfigurationSection section;
    section = new ConfigurationSection();
    assert section.setVariable("var", first);
    assertVariable(section, "var", first);
    assert expected == section.setVariable("var", second);
    assertVariable(section, "var", second);
}