All Questions
Tagged with fakedb components
1 question
3
votes
1
answer
270
views
Unit testing a Sitecore component controller throws exception in mocked service
I'm using xUnit, NSubstitute, FluentAssertions and Sitecore FakeDb. Here is the controller that needs a test,
public class TransactionsController : Controller
{
private readonly ...