Integration test: Assert.fail instead of System.err

pull/711/head
pabloFuente 2022-03-25 12:36:21 +01:00
parent b8079ce519
commit 03859f5d06
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class IntegrationTestConfiguration {
try {
loadManager = Whitebox.getInternalState(spy, "loadManager");
} catch (Exception e) {
System.err.println("Error getting private property from stubbed object: " + e.getMessage());
Assert.fail("Error getting private property from stubbed object: " + e.getMessage());
}
Kms kms = new Kms(kmsProp, loadManager, spy);
KurentoClient kClient = mock(KurentoClient.class);