@Test public void exceptionIsThrownForWronglyConstructedJsonDictionary_4() { final Map<String, Object> eventMap = ImmutableMap.of("start_keyword", newArrayList(new Object())); assertThatExceptionOfType(RuntimeException.class).isThrownBy(() -> KeywordStartedEvent.from(eventMap)); }
public static KeywordStartedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("start_keyword")); }
KeywordStartedEvent { public static KeywordStartedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("start_keyword")); } }
KeywordStartedEvent { public static KeywordStartedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("start_keyword")); } KeywordStartedEvent(final String name, final String keywordType, final String libraryName); }
KeywordStartedEvent { public static KeywordStartedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("start_keyword")); } KeywordStartedEvent(final String name, final String keywordType, final String libraryName); static KeywordStartedEvent fromPre(final Map<String, Object> eventMap); static KeywordStartedEvent from(final Map<String, Object> eventMap); String getName(); String getKeywordType(); String getLibraryName(); RunningKeyword getRunningKeyword(); @Override boolean equals(final Object obj); @Override int hashCode(); }
KeywordStartedEvent { public static KeywordStartedEvent from(final Map<String, Object> eventMap) { return fromEventArguments((List<?>) eventMap.get("start_keyword")); } KeywordStartedEvent(final String name, final String keywordType, final String libraryName); static KeywordStartedEvent fromPre(final Map<String, Object> eventMap); static KeywordStartedEvent from(final Map<String, Object> eventMap); String getName(); String getKeywordType(); String getLibraryName(); RunningKeyword getRunningKeyword(); @Override boolean equals(final Object obj); @Override int hashCode();  }