@ThreadHostileTest("changes test namespace")
public void testSourceChangeClearsCachesInDevMode() throws Exception {
// Make sure we're in Dev mode.
ContextService contextService = Aura.getContextService();
if (contextService.isEstablished()) {
contextService.endContext();
}
contextService.startContext(Mode.DEV, Format.JSON, Authentication.AUTHENTICATED);
MasterDefRegistryImpl mdr = getDefRegistry(false);
DefDescriptor<ComponentDef> cmpDesc = Aura.getDefinitionService().getDefDescriptor("test:deleteMeAfterTest",