@Test
public void testSetChosenConditions() throws Exception {

    ConditionCol52 a = mock(ConditionCol52.class);
    ConditionCol52 b = mock(ConditionCol52.class);
    assertEquals(1,
                 conditions.size());
    page.setChosenConditions(pattern,
                             Arrays.asList(a,
                                           b));
    assertEquals(2,
                 conditions.size());
    assertEquals(a,
                 conditions.get(0));
    assertEquals(b,
                 conditions.get(1));
}