StringWriter profile = new StringWriter(); phone.generateProfile(profile); String expected = IOUtils.toString(this.getClass().getResourceAsStream("expected-360.cfg")); assertEquals(expected, profile.toString()); }
StringWriter profile = new StringWriter(); m_phone.generateProfile(profile); String expected = IOUtils.toString(this.getClass() .getResourceAsStream("expected-360.cfg")); assertEquals(expected, profile.toString()); }
	public void testGenerateProfiles() throws Exception {		StringWriter profile = new StringWriter();		phone.generateProfile(profile);		String expected = IOUtils.toString(this.getClass().getResourceAsStream("expected-360.cfg"));		assertEquals(expected, profile.toString());	}