@Test
public void getMatchingOrganizationOfAModule(){

    final DbModule module = new DbModule();
    final DbArtifact artifact = new DbArtifact();
    artifact.setGroupId(GrapesTestUtils.CORPORATE_GROUPID_4TEST);
    module.addArtifact(artifact);
    final RepositoryHandler repositoryHandler = GrapesTestUtils.getRepoHandlerMock();
    final OrganizationHandler handler = new OrganizationHandler(repositoryHandler);
    final DbOrganization gotOrganization = handler.getMatchingOrganization(module);
    verify(repositoryHandler, times(1)).getAllOrganizations();
    assertEquals(GrapesTestUtils.ORGANIZATION_NAME_4TEST, gotOrganization.getName());
}