@Test
public void testRemoveNulls() {

  List<?> list = new ArrayList<String>(Arrays.asList("a", "b", null, "1", "2", null));
  DeclarationParser.removeNulls(list);
  assertEquals(Arrays.asList("a", "b", "1", "2"), list);
}