Remove yang-test
[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
13 import org.opendaylight.controller.config.persist.api.PropertiesProvider;
14
15 public class PropertiesProviderTest implements PropertiesProvider {
16     private final Map<String, String> properties = new HashMap<>();
17
18     public void addProperty(final String key, final String value) {
19         properties.put(key, value);
20     }
21
22     @Override
23     public String getProperty(final String key) {
24         return properties.get(key);
25     }
26
27     @Override
28     public String getFullKeyForReporting(final String key) {
29         return null;
30     }
31
32     @Override
33     public String getPrefix() {
34         return null;
35     }
36
37     @Override
38     public String getPropertyWithoutPrefix(final String fullKey) {
39         return null;
40     }
41 }