ConversionResult { public boolean isEmpty() { return messages.isEmpty(); } ConversionResult(DataType type); void add(Message message, Map<String, String> map); boolean isEmpty(); List<Message> getMessages(); long getMaxDate(); List<Map<String, String>> getMapList(); int size(); final DataType type; }
@Test public void emptyResult() throws Exception { ConversionResult result = new ConversionResult(DataType.SMS); assertThat(result.isEmpty()).isTrue(); }