As @Nkosi mentioned you have to use moq setup. Define your mocks outside constructor and initalize them in test class's constructor.
確定! 回上一頁