@Before
public void setUp() throws Exception
{
ntpConfig = new NtpServer();
port = AvailablePortFinder.getNextAvailable( 10123 );
TcpTransport tcpTransport = new TcpTransport( port );
UdpTransport udpTransport = new UdpTransport( port );
ntpConfig.setTransports( tcpTransport, udpTransport );
ntpConfig.getDatagramAcceptor( udpTransport ).getFilterChain().addLast( "executor",
new ExecutorFilter( Executors.newCachedThreadPool() ) );
ntpConfig.getSocketAcceptor( tcpTransport ).getFilterChain().addLast( "executor",