### Question:
IncludeTable extends PatternParam { public void excludeRelationship(String pattern){ excludeRelationships.add(new PatternParam(pattern)); } IncludeTable();   IncludeTable(String pattern); void setName(String name); void name(String name); void includeColumn(String pattern); void includeColumns(String... patterns); void excludeColumn(String pattern); void excludeColumns(String... patterns); void excludeRelationship(String pattern); void excludeRelationships(String... patterns);  }### Answer:
@Test public void excludeRelationship() throws Exception { IncludeTable table = new IncludeTable("name"); table.excludeRelationship("rel1"); Collection<ExcludeRelationship> rel = table.toIncludeTable().getExcludeRelationship(); assertNotNull(rel); assertEquals(1, rel.size()); assertEquals("rel1", rel.iterator().next().getPattern()); }