use of com.amazonaws.services.elasticloadbalancing.model.ListenerDescription in project chassis by Kixeye.
the class ZookeeperElbFilterTest method externalExhibitor.
@Test
public void externalExhibitor() {
LoadBalancerDescription loadBalancer = new LoadBalancerDescription();
List<ListenerDescription> listenerDescriptions = new ArrayList<>();
listenerDescriptions.add(new ListenerDescription());
loadBalancer.setListenerDescriptions(listenerDescriptions);
loadBalancer.setLoadBalancerName("exhibitor-" + ENVIRONMENT);
Assert.assertFalse(filter.accept(loadBalancer));
}
Aggregations