### Question:
TlsToolkitGetStatusCommandLine extends BaseCommandLine { public GetStatusConfig createConfig() { return new GetStatusConfig(url, sslContext); } TlsToolkitGetStatusCommandLine(); static void main(String[] args); GetStatusConfig createConfig(); static final String URL_ARG; static final String KEYSTORE_ARG; static final String KEYSTORE_TYPE_ARG; static final String KEYSTORE_PASSWORD_ARG; static final String KEY_PASSWORD_ARG; static final String TRUSTSTORE_ARG; static final String TRUSTSTORE_TYPE_ARG; static final String TRUSTSTORE_PASSWORD_ARG; static final String PROTOCOL_ARG; static final String DEFAULT_PROTOCOL; static final String DEFAULT_KEYSTORE_TYPE; static final String DESCRIPTION; }### Answer:
@Test public void testSuccess() { try { final String urlStr = "https: commandLine.parse( "-u", urlStr, "-ts", "src/test/resources/localhost/truststore.jks", "-tst", "JKS", "-tsp", "t7rmn1fg8np2ck1sduqdd85opv"); final GetStatusConfig config = commandLine.createConfig(); Assert.assertNotNull(config); final URI url = config.getUrl(); Assert.assertNotNull(url); Assert.assertEquals(urlStr, url.toString()); final SSLContext sslContext = config.getSslContext(); Assert.assertNotNull(sslContext); } catch (CommandLineParseException e) { fail("Expected success"); } }