You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "demery-pivotal (GitHub)" <gi...@apache.org> on 2020/02/25 18:41:24 UTC

[GitHub] [geode] demery-pivotal commented on pull request #4727: GEODE-7421: deploy using management rest api

You can chain assertions if you like:
```
assertThat(throwable)
    .isInstanceOf(IllegalArgumentException.class);
    .hasMessageContaining("File does not contain valid JAR content:");
```
Also note that AssertJ's assertions do a null check, so you don't need `isNotNull()` unless it helps to clarify the test.

[ Full content available at: https://github.com/apache/geode/pull/4727 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org