### Question:
ScriptConfigurationDataStore implements ScriptingDataStore { @Override public ScriptConfiguration get(String uuid) throws ScriptException { try { ServiceConfig config = getSubOrgConfig(); if (config.getSubConfigNames().contains(uuid)) { return scriptConfigurationFromMap(uuid, config.getSubConfig(uuid).getAttributesForRead()); } config = getSubGlobalConfig(); if (config.getSubConfigNames().contains(uuid)) { return scriptConfigurationFromMap(uuid, config.getSubConfig(uuid).getAttributesForRead()); } } catch (SSOException | SMSException e) { throw createAndLogError(logger, RETRIEVE_FAILED, e, uuid, realm); } throw createAndLogError(logger, SCRIPT_UUID_NOT_FOUND, uuid, realm); } @Inject  ScriptConfigurationDataStore(@Named("ScriptLogger") Logger logger,
                                        @Assisted Subject subject, @Assisted String realm); @Override void save(ScriptConfiguration config); @Override void delete(String uuid); @Override Set<ScriptConfiguration> getAll(); @Override ScriptConfiguration get(String uuid); @Override boolean containsUuid(String uuid); @Override boolean containsName(String name); @Override Set<ScriptConfiguration> get(QueryFilter<String> queryFilter);  }### Answer:
@Test public void shouldFailIfConfigDoesNotExistOnGet() throws ScriptException { String uuid = "1234567890"; try { dataStore.get(uuid); fail("shouldFailIfConfigDoesNotExistOnGet"); } catch (ScriptException e) { assertEquals(e.getScriptErrorCode(), RETRIEVE_FAILED); } }