ConfigurationStore implements IvoryService { public static ConfigurationStore get() { return store; } @SuppressWarnings("unchecked") private  ConfigurationStore(); static ConfigurationStore get(); @Override void init(); void registerListener(ConfigurationChangeListener listener); synchronized void publish(EntityType type, Entity entity); synchronized void rollbackUpdate(EntityType type, Entity entity); synchronized void update(EntityType type, Entity entity); synchronized void initiateUpdate(Entity entity); @SuppressWarnings("unchecked") T get(EntityType type, String name); Collection<String> getEntities(EntityType type); boolean remove(EntityType type, String name); Entity[] search(EntityType type, String... keywords); void cleanupUpdateInit(); @Override String getName(); @Override void destroy();  }
@Test public void testGet() throws Exception { Process p = store.get(EntityType.PROCESS, "notfound"); Assert.assertNull(p); }