void () { StringBuffer buffer = new StringBuffer("06-05 17:59:30.211 1664-1680/? W/zygote: kill(-7199, 9) failed: No such process\n"); LogConsoleBase.resizeBuffer(buffer, 128); assertEquals("06-05 17:59:30.211 1664-1680/? W/zygote: kill(-7199, 9) failed: No such process\n", buffer.toString()); }