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