@Test
public void should_return_collect_nothing_when_page_does_not_contain_any_widget_with_auth_rules() throws Exception {

    Component component = mockComponentFor(aWidget());
    Page page = aPage().with(component).build();
    Set<String> modules = authRulesCollector.visit(page);
    assertThat(modules).isEmpty();
}