Closed rbright closed 11 months ago
Thanks for contributing! Woud you like to also have a go at writing a simple test for the Stop
function? If not, I'll add one at a later point.
@lorenzodonini Sure thing, I'll dig into the CSMS
and CentralSystem
tests a bit further and make some updates here.
I replicated the mocking and call assertion style that Start
used in both the OCPP 1.6 and 2.0.1 test scenarios.
@rbright thanks a lot for the addition!
While implementing the server and client in my own application, I realized that only the
ChargePoint
andChargingStation
interfaces exposed aStop
function. As I'd like for theCentralSystem
andCSMS
to be capable of graceful shutdown when the application stops, I've exposedStop
on those interfaces as well.