Quantum-classical correspondence of a system of interacting bosons in a triple-well potential