BAEL-3715: Sync code and article (#9932)

This commit is contained in:
kwoyke
2020-08-29 10:49:40 +02:00
committed by GitHub
parent fa09cd6854
commit 44d66d9a0f
3 changed files with 3 additions and 3 deletions
@@ -17,7 +17,7 @@ public class AsynchronousCustomSpringEventsIntegrationTest {
@Test
public void testCustomSpringEvents() throws InterruptedException {
publisher.publishEvent("Hello world!!");
publisher.publishCustomEvent("Hello world!!");
System.out.println("Done publishing asynchronous custom event. ");
}
}
@@ -22,7 +22,7 @@ public class SynchronousCustomSpringEventsIntegrationTest {
@Test
public void testCustomSpringEvents() {
isTrue(!listener.isHitCustomEventHandler(), "The value should be false");
publisher.publishEvent("Hello world!!");
publisher.publishCustomEvent("Hello world!!");
System.out.println("Done publishing synchronous custom event. ");
isTrue(listener.isHitCustomEventHandler(), "Now the value should be changed to true");
}