@Test
public void testMultiplePackageDeclarationsContent() {

    final String content = ""
            + "package org.drools.guvnor.models.commons.backend.packages;\n"
            + "package a.second.package.declaration;\n";
    final String packageName = PackageNameParser.parsePackageName( content );
    assertNotNull( packageName );
    assertEquals( "org.drools.guvnor.models.commons.backend.packages",
                  packageName );
}