1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-17 17:52:06 +01:00

Make junit assertion more verbose

This commit is contained in:
Florian Schmaus 2018-05-10 15:26:06 +02:00
parent c94962c763
commit 458d8d98b6

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