ebfac011c017408f722f4a949d773234cd3814aa
[integration.git] /
1 package org.onap.pnfsimulator.netconfmonitor.netconf;
2
3 import static org.junit.jupiter.api.Assertions.assertEquals;
4
5 import org.junit.jupiter.api.Test;
6
7 public class NetconfConfigurationCacheTest {
8
9     private static final String CONFIGURATION = "sampleConfiguration";
10
11     @Test
12     void changeConfigurationAfterUpdate() {
13         NetconfConfigurationCache configurationCache = new NetconfConfigurationCache();
14         configurationCache.update(CONFIGURATION);
15
16         assertEquals(CONFIGURATION, configurationCache.getConfiguration());
17     }
18 }