}
@Test
public void addExternalModuleDependenciesWithSameModuleRevisionIdAndDifferentClassifiersShouldNotBePartOfSameDependencyDescriptor() {
ExternalDependency dependency1 = new DefaultExternalModuleDependency("org.gradle", "gradle-core", "1.0", TEST_DEP_CONF);
ModuleFactoryHelper.addExplicitArtifactsIfDefined(dependency1, null, "jdk14");
ExternalDependency dependency2 = new DefaultExternalModuleDependency("org.gradle", "gradle-core", "1.0", TEST_OTHER_DEP_CONF);
ModuleFactoryHelper.addExplicitArtifactsIfDefined(dependency2, null, "jdk15");
assertThataddDependenciesWithSameModuleRevisionIdAndDifferentClassifiersShouldNotBePartOfSameDependencyDescriptor(
dependency1, dependency2, externalModuleDependencyDescriptorFactory
);