@Test
public void testPrepareView() throws Exception {

    page.prepareView();
    verify(view).setAvailablePatterns(Arrays.asList(pattern,
                                                    secondPattern));
}