@Test
public void testNonExistingVariablesAreReplacedWithEmptyStrings()
{

    Entity e = entity();
    String templateString = "V{b} V{does_not_exist} V{a}";
    NotificationTemplate template = template( templateString );
    NotificationMessage message = renderer.render( e, template );
    String expected = format( "%s  %s", e.propertyB, e.propertyA );
    assertNotNull( message );
    assertEquals( expected, message.getMessage() );
}