@Test
public void handlesEscapesAtSymbols() {

    EmitEachSelectorValidator.Config config = new EmitEachSelectorValidator.Config();
    config.setSelector(Selector.parse("string"));
    config.setMessageTemplate("A@@@@B");
    EmitEachSelectorValidator validator = new EmitEachSelectorValidator(config);
    Model model = Model.builder()
            .addShape(StringShape.builder().id(ShapeId.from("foo.bar#Baz")).build())
            .build();
    List<ValidationEvent> events = validator.validate(model);
    assertThat(events, hasSize(1));
    assertThat(events.get(0).getMessage(), equalTo("A@@B"));
}