blob: 20278733734f7548844dbe44c5e672573abba9ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.subscription;
import com.yahoo.myproject.config.NamespaceConfig;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* @author gjoranv
*/
public class NamespaceTest {
@Test
@SuppressWarnings("deprecation")
public void verifyConfigClassWithExplicitNamespace() {
NamespaceConfig config = new ConfigGetter<>(NamespaceConfig.class).getConfig("raw: a 0\n");
assertEquals(0, config.a());
}
}
|