### Question:
ParameterParser { public String getStoreMode() { return storeMode; } ParameterParser(String[] args); String getHost(); int getPort(); String getStoreMode(); boolean isHelp(); Long getServerNode(); String getSeataEnv();  }### Answer:
@Test public void testEmptyMode() { String[] args = new String[] {"-h", "127.0.0.1", "-p", "8088"}; parameterParser = new ParameterParser(args); Assertions.assertEquals("file", parameterParser.getStoreMode()); }
@Test public void testGetStoreMode() { Assertions.assertEquals("file", parameterParser.getStoreMode()); }