Tag Archives: nservicebus

Could not find a concrete type mapped to MappingAdded

In a handler I tried to publish an event. But the exception Could not find a concrete type mapped to MappingAdded is thrown.
The problem here is that FakeDbSet uses an older version of EntityFramework. Make sure all project reference the same EntityFramework version or remove your unneeded DbContext. Continue reading

Posted in Development | Tagged , , , , , | Leave a comment

Unittest NServiceBus saga

NServiceBus has it’s own unit test support framework. The nuget package is NServiceBus.Testing. Below I’ll demonstrate how to use it with an example saga from the book Learning NServiceBus. VerifyUserEmailPolicy Saga The saga is used to verify an e-mail address … Continue reading

Posted in Test | Tagged , , | Leave a comment