@Test
public void testPrepareViewPatternsAvailableButNoConditionSpecified() throws Exception {

    model.setConditionPatterns(Collections.singletonList(new Pattern52()));
    actionSetFieldsPage.prepareView();
    verify(actionSetFieldsPageView).setAvailablePatterns(Collections.emptyList());
}