()
| 152 | } |
| 153 | |
| 154 | @Test |
| 155 | public void getIntNegative() throws Exception { |
| 156 | final Config config = new Config(false); |
| 157 | config.overrideConfig("tsd.int", |
| 158 | Integer.toString(Integer.MIN_VALUE)); |
| 159 | assertEquals(Integer.MIN_VALUE, |
| 160 | config.getInt("tsd.int")); |
| 161 | } |
| 162 | |
| 163 | @Test(expected = NumberFormatException.class) |
| 164 | public void getIntNull() throws Exception { |
nothing calls this directly
no test coverage detected