View Javadoc

1   package com.atlassian.johnson;
2   
3   import org.junit.Test;
4   
5   public class JohnsonTest {
6   
7       @Test(expected = IllegalStateException.class)
8       public void testGetConfigThrowsWhenUninitialised() {
9           Johnson.getConfig();
10      }
11  
12      @Test(expected = IllegalStateException.class)
13      public void testGetEventContainerThrowsWhenUninitialised() {
14          Johnson.getEventContainer();
15      }
16  }