assertEquals("Full name name, not set correctly", "name", name.getName());
}
@Test
public void compareCaseInsensitive() {
ModuleName name = ModuleName.fromString("some-name");
assertEquals("Qualifier not case insensitive", 0, ModuleName.fromString("Some-name").compareTo(name));
assertEquals("Name not case insensitive", 0, ModuleName.fromString("some-Name").compareTo(name));
assertEquals("Combo not case insensitive", 0, ModuleName.fromString("SOME-NAME").compareTo(name));
assertTrue("bad order", ModuleName.fromString("good-name").compareTo(name) < 0);