@Test
public void testGetELSpecWhenVersionDoesNotExistAndMultipleCompatible() {

    final String agentClass = "default";
    final AgentManifest defaultManifest = createAgentManifest("X.Y.Z", "cpp");
    when(agentService.getAgentManifests(agentClass)).thenReturn(Collections.singletonList(defaultManifest));
    final Optional<ELSpecification> specification = specificationProvider.getELSpecification(agentClass);
    assertFalse(specification.isPresent());
}