@Test
public void skipsUsingTheActualValidatorIfNoTraitsUseTheBoundTrait() {

    EmitEachSelectorValidator.Config config = new EmitEachSelectorValidator.Config();
    Model model = Model.builder()
            .addShape(StringShape.builder().id(ShapeId.from("foo.bar#A")).build())
            .build();
    config.setSelector(Selector.parse("*"));
    config.setBindToTrait(DocumentationTrait.ID);
    EmitEachSelectorValidator validator = new EmitEachSelectorValidator(config);
    assertThat(validator.validate(model), empty());
}