()
| 167 | } |
| 168 | |
| 169 | @Test |
| 170 | public void getIntNegative() throws Exception { |
| 171 | final Config config = new Config(); |
| 172 | config.overrideConfig("asynchbase.int", |
| 173 | Integer.toString(Integer.MIN_VALUE)); |
| 174 | assertEquals(Integer.MIN_VALUE, |
| 175 | config.getInt("asynchbase.int")); |
| 176 | } |
| 177 | |
| 178 | @Test(expected = NumberFormatException.class) |
| 179 | public void getIntNull() throws Exception { |
nothing calls this directly
no test coverage detected