- Assert.assertEquals(lfl.pruneRecords(), false);
- }
-
-
- @Test
- public void Verify_Histogram_When_Request_Type_Post() throws Exception {
- String fileContent = "2018-08-29-10-10-10-543.|PUB|1|1|https://dmaap-dr-prov:8443/publish/1/file123/|POST|application/vnd.att-dr.feed|2|128.0.0.9|user123|200";
- lfl.process(prepFile(fileContent));
- Map<Long, Long> expect = new HashMap<>();
- expect.put(17772L,2L);
- expect.put(29353L,1L);
- Map<Long, Long> actual = lfl.getHistogram();
- assertTrue(actual.equals(expect));