ASP.NET Core has in-built dependency injection container and it’s pretty good enough to use. I use TestApiFactory class to use it without too much set up, but this time, I had to wire up service provider myself, as thses tests run against Service Fabric worker process which is an executable.
ReadOutbox is a simple relational database table that temporarily store all the events the service raises.
ReadGUID or UUID is the almost standard identifier for entity objects these days. It used be INT and I still do love INT as id type, but the trend is GUID
ReadGraphviz uses simple markdown-like syntax to draw complex graphs. Initially I tried mermaid but it was more for flowchart, where things flow in one way. Graphviz was able to express complex web of objects much better.
ReadOur repositories accept domain models as parameter to save them to the database. Moq's verify works greatly if the method has primitive types like string, int, and bool, not so good at showing error message if the paramter is an object.
Read