From 0b5b6c6812c317ad9310bc68082c5482b172d892 Mon Sep 17 00:00:00 2001 From: Jacek Milewski Date: Tue, 2 Jan 2024 20:41:26 +0100 Subject: [PATCH] task-contract-messaging-listener-done --- ...eEventListener_settleInitialPrice_eventContractApiTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/Pricing/src/test/java/com/bottega/pricing/initialPrice/api/event/InitialPriceEventListener_settleInitialPrice_eventContractApiTest.java b/services/Pricing/src/test/java/com/bottega/pricing/initialPrice/api/event/InitialPriceEventListener_settleInitialPrice_eventContractApiTest.java index d9c3ba75..7ac827b4 100644 --- a/services/Pricing/src/test/java/com/bottega/pricing/initialPrice/api/event/InitialPriceEventListener_settleInitialPrice_eventContractApiTest.java +++ b/services/Pricing/src/test/java/com/bottega/pricing/initialPrice/api/event/InitialPriceEventListener_settleInitialPrice_eventContractApiTest.java @@ -30,7 +30,8 @@ public void settleInitialPrice_createsPrice_OnContractTest() { .hasPrice(105_00) .hasNoFactors(); - //TODO assert that PriceChange event is published with PriceChangeEventAssert + PriceChangeEventAssert.assertThatEvent(sharedFixtures.testEventListener.singleEvent()) + .isPriceChangeV1(actualPrice); }