1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.core.joran.spi;
15
16 import static org.junit.Assert.assertFalse;
17 import static org.junit.Assert.assertTrue;
18
19 import org.junit.Test;
20
21 public class NoAutoStartUtilTest {
22
23 @Test
24 public void commonObject() {
25 Object o = new Object();
26 assertTrue(NoAutoStartUtil.notMarkedWithNoAutoStart(o));
27 }
28
29 @Test
30 public void markedWithNoAutoStart() {
31 DoNotAutoStart o = new DoNotAutoStart();
32 assertFalse(NoAutoStartUtil.notMarkedWithNoAutoStart(o));
33 }
34 }