test method
Tests the transport connection.
Returns true if the transport is properly configured and can connect.
Implementation
@override
Future<bool> test() async {
try {
await _connect();
await _sendCommand('QUIT', expectedCode: 221);
await _disconnect();
return true;
} catch (e) {
await _disconnect();
return false;
}
}