@Test
public void testExpand() {

    Map<String,String> props = new HashMap<String, String>();
    props.put("MOVIE", "Amelie");
    
    PropertyExpander expander = new PropertyExpander(props);
    String expected = "My favorite movie is Amelie";
    String actual = expander.expand("My favorite movie is @MOVIE@");
    Assert.assertEquals(expected, actual);
}