@Test public void exceptionIsThrownForWronglyConstructedJsonDictionary_3() { final Map<String, Object> eventMap = ImmutableMap.of("end_keyword", newArrayList()); assertThatExceptionOfType(RuntimeException.class).isThrownBy(() -> KeywordEndedEvent.from(eventMap)); }
public static KeywordEndedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("end_keyword")); }
KeywordEndedEvent { public static KeywordEndedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("end_keyword")); } }
KeywordEndedEvent { public static KeywordEndedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("end_keyword")); } KeywordEndedEvent(final String libOrResourceName, final String name, final String keywordType,
            final Status status); }
KeywordEndedEvent { public static KeywordEndedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("end_keyword")); } KeywordEndedEvent(final String libOrResourceName, final String name, final String keywordType,
            final Status status); static KeywordEndedEvent fromPre(final Map<String, Object> eventMap); static KeywordEndedEvent from(final Map<String, Object> eventMap); String getLibraryName(); String getName(); QualifiedKeywordName getQualifiedName(); String getKeywordType(); Status getStatus(); @Override boolean equals(final Object obj); @Override int hashCode(); }
KeywordEndedEvent { public static KeywordEndedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("end_keyword")); } KeywordEndedEvent(final String libOrResourceName, final String name, final String keywordType,
            final Status status); static KeywordEndedEvent fromPre(final Map<String, Object> eventMap); static KeywordEndedEvent from(final Map<String, Object> eventMap); String getLibraryName(); String getName(); QualifiedKeywordName getQualifiedName(); String getKeywordType(); Status getStatus(); @Override boolean equals(final Object obj); @Override int hashCode();  }