Assert that the given value is a valid JsonRpcNotification object.
If the given value is not a valid JsonRpcNotification object.
The value to check.
Optional
The error class to throw if the assertion fails. Defaults to AssertionError.
Assert that the given value is a valid JsonRpcNotification object.
Throws
If the given value is not a valid JsonRpcNotification object.