1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package test.de.smartics.properties.api.config.domain.key;
17
18 import org.junit.experimental.categories.Category;
19 import org.junit.experimental.theories.DataPoint;
20
21 import de.smartics.properties.api.config.domain.key.ApplicationId;
22 import de.smartics.properties.api.config.domain.key.ConfigurationKey;
23 import de.smartics.properties.api.config.domain.key.EnvironmentId;
24 import de.smartics.properties.impl.config.domain.key.envapp.EnvAppConfigurationKey;
25 import de.smartics.testdoc.annotations.Uut;
26 import de.smartics.testdoc.categories.type.ObjectBasics;
27 import de.smartics.util.test.theories.SerializationTheory;
28
29
30
31
32 @Category(ObjectBasics.class)
33 @Uut(type = ConfigurationKey.class)
34 public class ConfigurationKeySerializableTest extends SerializationTheory
35 {
36 public static final EnvironmentId ENV = new EnvironmentId("test");
37
38 public static final ApplicationId APP = new ApplicationId("group",
39 "artifactId", "1.0");
40
41 @DataPoint
42 public static final ConfigurationKey<?> DEFAULT = new EnvAppConfigurationKey(ENV, APP);
43 }