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.EnvironmentId;
22 import de.smartics.testdoc.annotations.Uut;
23 import de.smartics.testdoc.categories.type.ObjectBasics;
24 import de.smartics.util.test.theories.ObjectTheories;
25
26
27
28
29 @Category(ObjectBasics.class)
30 @Uut(type = EnvironmentId.class)
31 public class EnvironmentIdObjectTest extends ObjectTheories
32 {
33 @DataPoint
34 public static final EnvironmentId DEFAULT = new EnvironmentId("name1");
35
36 @DataPoint
37 public static final EnvironmentId SAME = DEFAULT;
38
39 @DataPoint
40 public static final EnvironmentId EQUAL = new EnvironmentId("name1");
41
42 @DataPoint
43 public static final EnvironmentId MIN = new EnvironmentId("name0");
44
45 @DataPoint
46 public static final EnvironmentId MAX = new EnvironmentId("name2");
47
48 @DataPoint
49 public static final String STRING = "OTHER_CLASS";
50
51 @DataPoint
52 public static final EnvironmentId NULL = null;
53 }