assertEquals(expected, profile.toString());
String actual = TestUtil.cleanEndOfLines(profile.toString()); assertEquals(expected, actual);
    public void testGenerateTextProfiles() throws Exception {        phone.setTextFormatEnabled(true);        ByteArrayOutputStream profile = new ByteArrayOutputStream();        phone.writeTextFile(profile);        String expected = IOUtils.toString(this.getClass().getResourceAsStream("expected-gsbt.cfg"));        assertEquals(expected, profile.toString());    }