Merge "Allow to disable default gw feature"
[controller.git] / opendaylight / config / config-persister-api / src / test / java / org / opendaylight / controller / config / persist / test / PropertiesProviderTest.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.config.persist.test;
9
10 import java.util.HashMap;
11 import java.util.Map;
12 import org.opendaylight.controller.config.persist.api.PropertiesProvider;
13
14 public class PropertiesProviderTest implements PropertiesProvider {
15     private final Map<String,String> properties = new HashMap();
16
17     public void addProperty(String key,String value){
18         properties.put(key,value);
19     }
20     @Override
21     public String getProperty(String key) {
22         return properties.get(key);
23     }
24
25     @Override
26     public String getFullKeyForReporting(String key) {
27         return null;
28     }
29
30     @Override
31     public String getPrefix() {
32         return null;
33     }
34
35     @Override
36     public String getPropertyWithoutPrefix(String fullKey) {
37         return null;
38     }
39 }