@Test
public void testContains() throws Exception {

  ObservableList<String> list = new ObservableList<>();
  list.add("A");
  list.add("B");
  list.add("C");
  assertThat(list.contains("B")).isTrue();
  assertThat(list.contains("X")).isFalse();
}