Communication network cabinet energy storage charging pile collision test method