public void Initialize()
        {
            this.primeNumberGeneratorMock = new Mock <IPrimeNumberGenerator>();


            this.primeNumberMultiplicationService = new PrimeNumberMultiplicationService(primeNumberGeneratorMock.Object);
        }
コード例 #2
0
 public PrimeNumberMultiplicationController(IPrimeNumberMultiplicationService multiplicationService)
 {
     this.multiplicationService = multiplicationService;
 }