2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.config.persist.test;
10 import java.util.HashMap;
13 import org.opendaylight.controller.config.persist.api.PropertiesProvider;
15 public class PropertiesProviderTest implements PropertiesProvider {
16 private final Map<String, String> properties = new HashMap<>();
18 public void addProperty(final String key, final String value) {
19 properties.put(key, value);
23 public String getProperty(final String key) {
24 return properties.get(key);
28 public String getFullKeyForReporting(final String key) {
33 public String getPrefix() {
38 public String getPropertyWithoutPrefix(final String fullKey) {