Project

General

Profile

« Previous | Next » 

Revision 4dbcb616

Added by Andreas Müller over 3 years ago

cleanup and use TermTestBase for model tests

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/hibernate/HHH_9751_UtilTest.java
16 16
/**
17 17
 * @author a.kohlbecker
18 18
 * @since Jun 13, 2016
19
 *
20 19
 */
21 20
public class HHH_9751_UtilTest extends Assert {
22 21

  
23 22
    @Test
24 23
    public void testNullRemoval() {
25
        ArrayList<String> list = new ArrayList<String>();
24
        ArrayList<String> list = new ArrayList<>();
26 25
        list.add("1");
27 26
        list.add("2");
28 27
        list.add(null);
......
34 33
        assertEquals(3, list.size());
35 34
        assertNotNull(list.get(2));
36 35
    }
37

  
38
}
36
}

Also available in: Unified diff