Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个问题与674458非常相似,但我真的很想在我的单元测试中使用 AutoMockContainer。我无法弄清楚如何设置我的上下文。
有没有人能够对使用 AutoMockContainer 调用 Url.Action 的控制器进行单元测试?