### Question:
ScriptConfigurationService implements ScriptingService, ServiceListener { @Override public ScriptConfiguration get(String uuid) throws ScriptException { lock.readLock().lock(); try { failIfUuidDoesNotExist(uuid); ScriptConfiguration realmConfiguration = realmConfigurations.get(uuid); return realmConfiguration != null ? realmConfiguration : globalConfigurations.get(uuid); } finally { lock.readLock().unlock(); } } @Inject  ScriptConfigurationService(Logger logger, String realm, CoreWrapper coreWrapper, ServiceConfigManager scm); @Override ScriptConfiguration create(ScriptConfiguration config, Subject subject); @Override ScriptConfiguration update(ScriptConfiguration config, Subject subject); @Override void delete(String uuid); @Override Set<ScriptConfiguration> getAll(); @Override ScriptConfiguration get(String uuid); @Override Set<ScriptConfiguration> get(QueryFilter<String> queryFilter); @Override void schemaChanged(String serviceName, String version); @Override void globalConfigChanged(String serviceName, String version, String groupName, String serviceComponent,
            int type); @Override void organizationConfigChanged(String serviceName, String version, String orgName, String groupName,
            String serviceComponent, int type);  }### Answer:
@Test public void shouldFailIfUuidDoesNotExistOnGet() throws ScriptException { try { service.get("1234567890"); fail("shouldFailIfUuidDoesNotExistOnGet"); } catch (ScriptException e) { assertEquals(e.getScriptErrorCode(), SCRIPT_UUID_NOT_FOUND); } }