I have also tried using reflective mocks, which also fails.
string[] assemblyNames = new string[] { "John" };
MockManager.Init();
Mock mockFacacde = MockManager.Mock(typeof(EditorFacade));
mockFacacde.ExpectAndReturn("GetAssemblyNames", assemblyNames, 1);
EditorFacade target = new EditorFacade();
EditorFacadeAccessor accessor = new EditorFacadeAccessor(target);
Type attributeType = typeof(Commands.MessageCommandAttribute);
System.Collections.Generic.Dictionary<System.Type, System.Type> table = new Dictionary<Type, Type>();
accessor.IndexAttributedClasses(attributeType, table);
MockManager.Verify();
Index AttributedClasses calls GetAssemblyNames, so I'd expect Verify to be happy with one call, but it fails saying the method hasn't been called.
Colin