@Test
public void multipleItemsAreSeparatedByNewLine(){

    String testStr = "    "+KEY1+"  =  "+VALUE1+"    \n"+
            KEY2+"="+VALUE2;
    ArrayList<Info> res = BatteryInfoParser.parse(testStr);
    assertEquals(2,res.size());
    Info info = res.get(0);
    assertEquals(KEY1,info.title);
    assertEquals(VALUE1,info.value);
    info = res.get(1);
    assertEquals(KEY2,info.title);
    assertEquals(VALUE2,info.value);
}