@Test
public void testGetFiguresVariables() throws IOException {

    final String properties = "figures.cool=some_valid_figure_files\n" +
            "strange.key=somethingElse\n" +
            "figures.more=another_set_of_figures";
    final ByteArrayInputStream inputStream = new ByteArrayInputStream(properties.getBytes());
    variables.load(inputStream);
    final Map<String, String> figuresVariables = variables.getFiguresVariables();
    assertEquals(2, figuresVariables.size());
    assertEquals("some_valid_figure_files", figuresVariables.get("figures.cool"));
    assertEquals("another_set_of_figures", figuresVariables.get("figures.more"));
}