@Test
public void should_return_empty_set_when_no_extra_modules_are_needed() throws Exception {

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