# File test/test_rc_d.rb, line 228
    def test_lock
      @rc_d.lock
      assert_equal(1, @open_call)
      assert_equal(@store_path, @open_path)
      assert_equal(File::WRONLY | File::CREAT | File::TRUNC | File::EXCL, @open_mode)
      assert_equal(true, @open_block_given_p)
      assert((File.exist? @store_path))
      assert_equal(SELF_PID.to_s + "\n", File.open(@store_path) {|input| input.read })
      assert_equal(0, @proc_alive_call)
    end