### Question:
ContextsManager { public void removeContext(UUID uuid) throws ResourceNotFoundException { final ContextDataPair pair = contextDataStorage.get(uuid, false); if (pair != null) { getStrategy(pair).deleteContext(pair.getContext(), pair.getData()); } contextDataStorage.delete(uuid); contextExecutorService.cancelContext(uuid); }  Class<?> getContextDescriptionClass(String contextType); Class<?> getQueryClass(String queryType); Class<?> getMetadataParamsClass(String paramsType); UUID createContext(Object contextDescription); boolean isMetadataSupported(Object contextDescription, String metadataClientType); String getMetadataClientResourceType(Object contextDescription); Object getContext(UUID uuid, Map<String, String[]> additionalProperties); void removeContext(UUID uuid); @SuppressWarnings("unchecked") Object getContextMetadata(UUID uuid, final Map<String, String[]> options); Object getContextMetadata(UUID uuid, Object metadataParams); Object executeQuery(UUID uuid, final Object query, final Map<String, String[]> queryParameters); Object executeQueryForMetadata(UUID uuid, final Object query); @PostConstruct void afterPropertiesSet(); @PostConstruct void initMetadataParamsTypes();  }### Answer:
@Test public void removeConnection_contextNonExists_removeActionsAreDone(){ final UUID uuid = UUID.randomUUID(); spy.removeContext(uuid); verify(contextDataStorage).get(uuid, false); verify(contextDataStorage).delete(uuid); }