Implement a class named Calculator in the /app/ directory that provides basic mathematical operations. The class should have the following functionality:
Addition Method (add):
Takes in two integer parameters and returns their sum.
Example: calc.add(1, 2) should return 3.
Subtraction Method (subtract):
Takes in two integer parameters and returns the result of subtracting the second parameter from the first.
Example: calc.subtract(5, 3) should return 2.
Multiplication Method (multiply):
Takes in two integer parameters and returns their product.
Example: calc.multiply(4, 5) should return 20.
Division Method (divide):
Takes in two integer parameters and returns the result of dividing the first parameter by the second.
If the second parameter is 0, the method should raise a ValueError with the message "Cannot divide by zero."
Example: calc.divide(10, 2) should return 5.
Ensure your implementation passes the provided tests, which are designed to verify each method's correctness and error handling. The Calculator class should not have any additional methods or properties beyond those specified.
Please implement the required functionality in a file named calculator.py located in the /app/ directory.