Reset Rebar file after trying to fix broken test
package com.blackducksoftware.integration.hub.detect.bomtool.hex
+import static com.blackducksoftware.integration.hub.detect.testutils.DependencyGraphAssertions.*
+import static com.blackducksoftware.integration.hub.detect.testutils.DependencyGraphResourceTestUtil.*
+import static org.junit.Assert.*
+
+import org.junit.BeforeClass
+import org.junit.Test
+import org.springframework.test.util.ReflectionTestUtils
+
import com.blackducksoftware.integration.hub.bdio.graph.DependencyGraph
import com.blackducksoftware.integration.hub.bdio.graph.MutableMapDependencyGraph
import com.blackducksoftware.integration.hub.bdio.model.Forge
@@ -9,12 +17,6 @@ import com.blackducksoftware.integration.hub.bdio.model.externalid.ExternalIdFac
import com.blackducksoftware.integration.hub.detect.model.DetectCodeLocation
import com.blackducksoftware.integration.hub.detect.model.DetectProject
import com.blackducksoftware.integration.hub.detect.testutils.TestUtil
-import org.junit.BeforeClass
-import org.junit.Test
-import org.springframework.test.util.ReflectionTestUtils
-
-import static com.blackducksoftware.integration.hub.detect.testutils.DependencyGraphResourceTestUtil.assertGraph
-import static org.junit.Assert.*
class RebarParserTest {
@@ -41,7 +43,7 @@ class RebarParserTest {
Dependency gitOuterParentDependency = buildDependency('git_outer_parent_dependency', '0.0.7')
Dependency gitOuterChildDependency = buildDependency('git_outer_child_dependency', '0.8.0')
- expectedGraph.addChildrenToRoot(gitOuterParentDependency, gitInnerParentDependency)
+ expectedGraph.addChildrenToRoot(gitInnerParentDependency, gitOuterParentDependency)
expectedGraph.addChildWithParent(hexInnerChildDependency, gitInnerParentDependency)
expectedGraph.addChildWithParents(hexGrandchildDependency, hexInnerChildDependency)
