You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/11/19 10:48:49 UTC
[GitHub] [incubator-eventmesh] UniKrau commented on issue #2226: [Bug] NullPointerException when test Command.java
UniKrau commented on issue #2226:
URL: https://github.com/apache/incubator-eventmesh/issues/2226#issuecomment-1320857948
mybad
it works
PowerMockito.mockStatic(Command.class);
PowerMockito.when(Command.valueOf(null)).thenThrow( new IllegalArgumentException());
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org