@Test
public void getModuleDependenciesOnAModuleThatDoesNotHaveAny(){

    final DbModule module = new DbModule();
    module.setName("module");
    module.setVersion("1.0.0");
    final RepositoryHandler repositoryHandler = mock(RepositoryHandler.class);
    when(repositoryHandler.getModule(module.getId())).thenReturn(module);
    final DependencyHandler dependencyHandler = new DependencyHandler(repositoryHandler);
    final List<Dependency> dependencies = dependencyHandler.getModuleDependencies(module.getId(), mock(FiltersHolder.class));
    assertNotNull(dependencies);
    assertEquals(0, dependencies.size());
}