public void Then_expected_methods_are_called_the_correct_times() { _sut.Get(_expectedEntity.FooId); Assert.Multiple(() => { _contextService.Received(_expectedContextManageCount).InitContext(); _contextService.Received(_expectedContextManageCount).ClearCurrentContext(); _dbSet.Received(1).FindAsync(_expectedEntity.FooId); }); }