package com.vaadin.v7.tests.server.component.abstractselect;
import org.junit.Test;
import com.vaadin.tests.server.component.AbstractListenerMethodsTestBase;
import com.vaadin.v7.data.Container.ItemSetChangeEvent;
import com.vaadin.v7.data.Container.ItemSetChangeListener;
import com.vaadin.v7.data.Container.PropertySetChangeEvent;
import com.vaadin.v7.data.Container.PropertySetChangeListener;
import com.vaadin.v7.ui.ComboBox;
public class AbstractSelectListenersTest
extends AbstractListenerMethodsTestBase {
@Test
public void testItemSetChangeListenerAddGetRemove() throws Exception {
testListenerAddGetRemove(ComboBox.class, ItemSetChangeEvent.class,
ItemSetChangeListener.class);
}
@Test
public void testPropertySetChangeListenerAddGetRemove() throws Exception {
testListenerAddGetRemove(ComboBox.class, PropertySetChangeEvent.class,
PropertySetChangeListener.class);
}
}