@Test
public void testRenderNullValuesAreReplacedWithEmptyStrings()
{

    Entity e = entity( "Halvdan was here", null );
    String templateString = format( "V{a} V{b} A{%s}", ATTR_NULL.getKey() );
    NotificationTemplate template = template( templateString );
    NotificationMessage message = renderer.render( e, template );
    String expected = format( "%s  ", e.propertyA );
    assertNotNull( message );
    assertEquals( expected, message.getMessage() );
}