1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +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