Specific questions about unit-testing Service Fabric Applications using Mocks
问题 This question is a follow up to: Writing UnitTests for a Service Fabric Application Class My application definition is of the type - simplified it to solve the most basic of problems I am facing: namespace SearchService { internal sealed class SearchServiceClass : StatelessService { //variables defined followed by constructor private string jsonStr; public SearchServiceClass(StatelessServiceContext context) : base(context) { try { var dataPackage = Context.CodePackageActivationContext