()
| 275 | } |
| 276 | |
| 277 | @Test |
| 278 | public void testInvalidTimeFormat() throws ScannerException, ParserException { |
| 279 | |
| 280 | expectedEx.expect(ParserException.class); |
| 281 | expectedEx.expectMessage(ParserException.INVALID_TIME_FORMAT); |
| 282 | |
| 283 | List<String> tokens = getTokens("a:b T: D->Pass => DM"); |
| 284 | |
| 285 | new Parser(tokens).parse(); |
| 286 | } |
| 287 | |
| 288 | @Test |
| 289 | public void testMissingTime() throws ScannerException, ParserException { |