package core.framework.impl.web.management;

import core.framework.util.Properties;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

/**
 * @author neo
 */
class PropertyControllerTest {
    @Test
    void text() {
        Properties properties = new Properties();
        properties.load("property-controller-test/test.properties");
        PropertyController controller = new PropertyController(properties);
        assertEquals("sys.jdbc.password=(masked)\n" +
                "sys.jdbc.user=user\n", controller.text());
    }
}

@@ -506,29 +506,8 @@
 d)%5Cn
-%22 +%0A                %22
 sys.

fix checkstyle