I'd prefer not to add extra methods just to facilitate testing. In general, I'm 
also not a fan of checking string content if at all possible. I think that:
```
assertThat(result.getInfoSection("info").getStringContent()).contains("foo");
```
Is equivalent to:
```
assertThat(result.getInfoSection("info").getContent()).containsOnly("foo");
```
and
```
assertThat(result.getInfoSection("info").getStringContent()).isEmpty();
```
is just:
```
assertThat(result.getInfoSection("info").getContent()).containsOnly("");
```


[ Full content available at: https://github.com/apache/geode/pull/3285 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to