/**
* @author Kohsuke Kawaguchi
*/
public class MarkupFormatterTest extends HudsonTestCase {
public void testConfigRoundtrip() throws Exception {
hudson.setSecurityRealm(new HudsonPrivateSecurityRealm(false));
hudson.setAuthorizationStrategy(new Unsecured());
hudson.setMarkupFormatter(new DummyMarkupImpl("hello"));
configRoundtrip();
assertEquals("hello", ((DummyMarkupImpl)hudson.getMarkupFormatter()).prefix);