use of org.simpleframework.xml.stream.HyphenStyle in project retrofit by square.
the class SimpleXmlConverterFactoryTest method setUp.
@Before
public void setUp() {
Format format = new Format(0, null, new HyphenStyle(), Verbosity.HIGH);
Persister persister = new Persister(format);
Retrofit retrofit = new Retrofit.Builder().baseUrl(server.url("/")).addConverterFactory(SimpleXmlConverterFactory.create(persister)).build();
service = retrofit.create(Service.class);
}
Aggregations