### Question:
PatternParam { ExcludeColumn toExcludeColumn() { ExcludeColumn column = new ExcludeColumn(); column.setPattern(pattern); return column; } PatternParam();   PatternParam(String pattern); void pattern(String pattern); String getPattern(); void setPattern(String pattern);  }### Answer:
@Test public void toExcludeColumn() throws Exception { ExcludeColumn table = param.toExcludeColumn(); assertNotNull(table); assertEquals("test", table.getPattern()); }