ContextId { public static Map<String, String> getContextIdWildCard() { return Collections.emptyMap(); } ContextId(String id); String getId(); void setId(String id); Map<String, String> toMetaData(); static ContextId fromMetaData(Map<String, String> metaData); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); static Map<String, String> getContextIdWildCard(); static final String META_KEY_ID; }
@Test public void testGetContextWildCard_shouldReturnEmptyMap() throws Exception { assertThat(ContextId.getContextIdWildCard().isEmpty(), is(true)); }