import org.junit.Ignore;\r
import org.junit.Test;\r
import org.springframework.beans.factory.annotation.Autowired;\r
+\r
public class ElasticSearchConfigTest {\r
\r
@Autowired\r
ElasticSearchConfig elasticSearchConfig;\r
\r
@Before\r
- public void setUp(){\r
+ public void setUp() {\r
Properties prop = new Properties();\r
prop.put("es.cluster-name", "cluster-1");\r
prop.put("es.ip-address", "127.0.0.1");\r
prop.put("es.http-port", "9001");\r
-// elasticSearchConfig = new ElasticSearchConfig(prop);\r
+ // elasticSearchConfig = new ElasticSearchConfig(prop);\r
}\r
\r
@Ignore\r
@Test\r
- public void testAllGetMethods(){\r
+ public void testAllGetMethods() {\r
Assert.assertEquals(elasticSearchConfig.getClusterName(), "cluster-1");\r
Assert.assertEquals(elasticSearchConfig.getIpAddress(), "127.0.0.1");\r
Assert.assertEquals(elasticSearchConfig.getHttpPort(), "9001");\r