This test ensures that only the namespaces imported by each package are available to the package.

In this test, packages 3 and 4 are used, but only package 3 is imported into the source.

Source files:

Package 1 loaded
Package 2 loaded
Should not find Export1 without a namespace
Should find Export1 with a namespace
Package 3 loaded
Should not find Export1
Should find Export2
Package 4 loaded
Should find Export1
Should find my.test.Export1
Should not find my.test.Export2
Should find my.test.Export3
Should find Export1
Should find my.test.Export1
Should not find my.test.Export2
Should find my.test.Export3
Should find Export3
Should not find Export4