[
https://issues.apache.org/jira/browse/ARIES-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy James Ward closed ARIES-2049.
-------------------------------------
> [TypedEvent] Event validation
> -----------------------------
>
> Key: ARIES-2049
> URL: https://issues.apache.org/jira/browse/ARIES-2049
> Project: Aries
> Issue Type: TCK Challenge
> Components: Typed Event
> Affects Versions: typedevent-1.0.0
> Reporter: Stefan Bischof
> Priority: Major
>
> Delivering a typed and untypedEvent that is `null` should throw an exception
> {code:java}
> @Test
> public void test_deliveruntyped_map_null_should_throws_exception() {
> assertThatNullPointerException().isThrownBy(() -> {
> typedEventBus.deliverUntyped("a", null);
> });
> }
> @Test
> public void test_deliver_2_event_null_should_throws_exception() {
> assertThatNullPointerException().isThrownBy(() -> {
> typedEventBus.deliver("a", null);
> });
> }{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)