Make junit assertion more verbose

This commit is contained in:
Florian Schmaus 2018-05-10 15:26:06 +02:00
parent c94962c763
commit 458d8d98b6
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ public class EntityCapsTest extends AbstractSmackIntegrationTest {
DiscoverInfo info = sdmOne.discoverInfo(conTwo.getUser());
// that discovery should cause a disco#info
assertTrue(discoInfoSend.get());
assertTrue(info.containsFeature(dummyFeature));
assertTrue("The info response '" + info + "' does not contain the expected feature '" + dummyFeature + '\'', info.containsFeature(dummyFeature));
discoInfoSend.set(false);
// discover that