### Question:
TemplateVariables { static boolean isFigureProperty(String propertyName) { return propertyName.startsWith("figure.") && !propertyName.contains(".scale"); } TemplateVariables();   }### Answer:
@Test public void testIsFigureProperty() { assertFalse(TemplateVariables.isFigureProperty("image")); assertFalse(TemplateVariables.isFigureProperty("figure.bla.scale")); assertTrue(TemplateVariables.isFigureProperty("figure.really")); }