### Question:
ScriptConfigurationDataStore implements ScriptingDataStore { @Override public boolean containsUuid(String uuid) throws ScriptException { return containsOrgUuid(uuid) || containsGlobalUuid(uuid); } @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 shouldFailIfConfigDoesNotExistOnContainsUuid() throws ScriptException { String uuid = "1234567890"; try { dataStore.containsUuid(uuid); fail("shouldFailIfConfigDoesNotExistOnContainsUuid"); } catch (ScriptException e) { assertEquals(e.getScriptErrorCode(), FIND_BY_UUID_FAILED); } }