@Test
public void getTheOrganizationOfAnArtifactWhichIsInAModuleThatDoesNotHaveOrganization(){

    final DbArtifact artifact = new DbArtifact();
    artifact.setArtifactId("test");
    artifact.setVersion("1.0.0-SNAPSHOT");
    final RepositoryHandler repositoryHandler = mock(RepositoryHandler.class);
    when(repositoryHandler.getRootModuleOf(artifact.getGavc())).thenReturn(new DbModule());
    final ArtifactHandler handler = new ArtifactHandler(repositoryHandler, mock(LicenseMatcher.class));
    final DbOrganization organization = handler.getOrganization(artifact);
    assertNull(organization);
}