public void InsertIntoSymbolTableScope(string varaibleName, AllType type, bool IsCollection, string ScopeName) { SymbolTable.OpenScope(ScopeName); SymbolTable.EnterSymbol(varaibleName, type, IsCollection); bool SymResolved; var NewType = SymbolTable.RetrieveSymbol(varaibleName, out SymResolved); SymbolTable.CloseScope(); if (NewType == type && SymResolved == IsCollection) { Assert.Pass(); } else { Assert.Fail(); } }