// Check for any local defs with this namespace and consider that as an indicator that we have a privileged
// namespace
if (namespace != null) {
TestContextAdapter testContextAdapter = Aura.get(TestContextAdapter.class);
if (testContextAdapter != null) {
TestContext testContext = testContextAdapter.getTestContext();
if (testContext != null) {
Set<Definition> localDefs = testContext.getLocalDefs();
for (Definition def : localDefs) {
DefDescriptor<? extends Definition> defDescriptor = def.getDescriptor();
if(defDescriptor!=null) {
String ns = defDescriptor.getNamespace();
if (namespace.equalsIgnoreCase(ns)) {