@Test
public void testGetJavaELSpecificationWithAgentTypeVariation() {

    final String agentClass = "default";
    final AgentManifest defaultManifest = createAgentManifest("0.6.0", "java");
    when(agentService.getAgentManifests(agentClass)).thenReturn(Collections.singletonList(defaultManifest));
    final Optional<ELSpecification> specification = specificationProvider.getELSpecification(agentClass);
    assertTrue(specification.isPresent());
    assertEquals("minifi-java-0.6.0", specification.get().getSpecificationKey());
}