assertEquals(InetAddress.getByName("1.2.3.4"), ((NioListener)listener).getDataConnectionConfiguration().getActiveLocalAddress());
assertEquals("123-125", ((NioListener)listener).getDataConnectionConfiguration().getPassivePorts());
List<Subnet> subnets = ((NioListener)listener).getBlockedSubnets();
assertEquals(3, subnets.size());
assertEquals(new Subnet(InetAddress.getByName("1.2.3.0"), 16), subnets.get(0));
assertEquals(new Subnet(InetAddress.getByName("1.2.4.0"), 16), subnets.get(1));
assertEquals(new Subnet(InetAddress.getByName("1.2.3.4"), 32), subnets.get(2));
DefaultSslConfiguration ssl = (DefaultSslConfiguration) listener.getSslConfiguration();
assertEquals(new File("/tmp/tmp.jks"), ssl.getKeystoreFile());
assertEquals("password", ssl.getKeystorePassword());