# File test/test_sockutils.rb, line 9
    def test_unix_socketpair
      s1, s2 = SocketUtils.unix_socketpair
      assert_instance_of(UNIXSocket, s1)
      assert_instance_of(UNIXSocket, s2)
      s1.write('foo')
      assert_equal('foo', s2.read(3))
      s2.write('bar')
      assert_equal('bar', s1.read(3))
      s1.close
      s2.close
    end