ConfiguredConsumeDestination extends ConsumeDestinationImp { public void setDestination(String s) { destination = s; } ConfiguredConsumeDestination();  ConfiguredConsumeDestination(String dest);  ConfiguredConsumeDestination(String dest, String filter);  ConfiguredConsumeDestination(String dest, String filter, String threadname); @Override boolean equals(Object obj); @Override int hashCode(); void setDestination(String s); String getDestination(); void setFilterExpression(String s); String getFilterExpression();  }
@Test public void testSetDestination() { ConfiguredConsumeDestination destination = new ConfiguredConsumeDestination(DEST_NAME, FILTER); destination.setDestination("newDestination"); assertTrue("newDestination".equals(destination.getDestination())); }