@Test
    void package_and_namespace_can_coexist() {
        String namespace = "test.namespace";
        DefParser parser = createParser("package=" + PACKAGE +
                "\nnamespace=" + namespace + "\n");
        CNode root = parser.getTree();
        assertEquals(PACKAGE, root.getPackage());
        assertEquals(namespace, root.getNamespace());
    }
Tests setting explicit java package in the def file.

@author gjoranv
configgen/src/test/java/com/yahoo/config/codegen/DefParserPackageTest.java