public void SetUp() { _mockGenerateImageRepo = new Mock <IGenerateImageRepository>(); _mockInputValidationService = new Mock <IUserInputValidationService>(); _generateImage = new GenerateImageService(_mockGenerateImageRepo.Object, _mockInputValidationService.Object); }
public void TearDown() { _mockGenerateImageRepo = null; _mockInputValidationService = null; _generateImage = null; }