public Socket createSocket(String s, int i) throws IOException {
   TestResult.success();
   return factory.createSocket(s, i);
 }
 public Socket createSocket(String s, int i, InetAddress inaddr, int j) throws IOException {
   TestResult.success();
   return factory.createSocket(s, i, inaddr, j);
 }
 public Socket createSocket(Socket socket, String s, int i, boolean flag) throws IOException {
   TestResult.success();
   return factory.createSocket(socket, s, i, flag);
 }
 public Socket createSocket(InetAddress inaddr, int i) throws IOException {
   TestResult.success();
   return factory.createSocket(inaddr, i);
 }
 public Socket createSocket() throws IOException {
   TestResult.success();
   return factory.createSocket();
 }