  @Test
  public void testPropertiesExclusion() {

    // given two properties
    oracle.addProperty("com.domain.Foo", "a", "java.lang.String");
    oracle.addProperty("com.domain.Foo", "b", "java.lang.String");
    // and an override to skip b
    addDto("FooDto", domain("Foo"), properties("-b, *"));
    // then we have only 1
    final DtoConfig dc = rootConfig.getDto("FooDto");
    assertThat(dc.getProperties().size(), is(1));
  }