### Question:
DestinationAndModelRegistry { public DestinationAndModel get(FacesContext context, String key) { if (key != null && key.startsWith(KEY_PREFIX)) { synchronized (this) { Map<String, DestinationAndModel> container = getContainer(context, false); if (container != null) { return container.get(key); } } } return null; }  String put(FacesContext context, DestinationAndModel destinationAndModel); DestinationAndModel get(FacesContext context, String key);  }### Answer:
@Test public void shouldReturnNullWhenNotInRegistry() throws Exception { assertThat(this.registry.get(this.context, "missing"), is(nullValue())); }