@Test
public void testToString()
    throws Exception
{

    // GIVEN
    Dependency dependency = new Dependency();
    // WHEN
    dependency.setId("PACKAGE_ID");
    dependency.versionRange = VersionRange.parse("1.2.3");
    // THEN
    assertThat(dependency.toString()).as("toString - identifier and version concatenation").isEqualTo("PACKAGE_ID:1.2.3");
}