OPINION
Appellant, The Insurance Adjustment Bureau, Inc. (“IAB”), filed a complaint against Appellee Allstate Insurance Company (“Allstate”) for breach of contract, conversion, and breach of assignment, alleging that a written agreement between it and Allstate’s insureds assigned it the right to the payment of insurance proceeds. This court granted allocatur to consider whether the Superior Court correctly affirmed the trial court’s order sustaining the preliminary objections that Allstate filed in response to IAB’s complaint. We conclude that Allstate’s preliminary objections should have been overruled. Accordingly, the order of the Superior Court is reversed.
The relevant facts and procedural history are as follows. On November 25, 2002, IAB commenced this action against Allstate by filing a complaint (“Complaint”). The Complaint avers, inter alia, that IAB is a public adjustment company; that on or about June 5, 2002, a fire caused damage to the *475 property located at 437 Main Street, Blandón, Pennsylvania; that the property was insured under an Allstate policy of insurance (“Policy”) issued to Blane Stuffet and Mark Gust (“Insureds”); that on or about June 7, 2002, the Insureds engaged IAB to advise and assist them in the adjustment of the claim made under the Policy; that IAB and the Insureds entered into a written agreement (“Agreement”); that under the Agreement, the Insureds agreed to pay IAB a ten percent commission, plus costs, and assigned to IAB all monies due or to become due under the Policy in exchange for its services; that Allstate was provided with and had notice of the assignment the Insureds made to IAB; that IAB investigated the fire, prepared inventories, secured estimates, and negotiated with Allstate; that on or about August 7, 2002, the Insureds terminated IAB’s services; that on or about September 27, 2002, Allstate informed IAB that it had decided to cover the Insureds’ claim; that in October of 2002, IAB requested that Allstate honor the assignment and include IAB as a payee on the settlement draft for the insurance proceeds; that Allstate’s settlement draft did not include IAB; and that IAB did not receive its costs and fee. Based on these averments, the Complaint asserts claims for breach of contract, conversion, and breach of assignment against Allstate and demands damages in an amount not to exceed $50,000.
In support of these averments, a copy of the Agreement is attached to the Complaint, which states in relevant part:
The undersigned “insured” hereby engages INSURANCE ADJUSTMENT BUREAU, INC. (PUBLIC ADJUSTER) to advise and assist in the adjustment of the claim AGAINST the insurance companies covering the loss arising from fire or other cause occurring on or about the 5[th] day of June, 2002, 4:30 ... p.m. at 437 Main Street[,] Blandon[,] Pa[.] 19510-9517.
The insured agrees to pay the Public Adjuster for such services afee of 10% ... of the amount paid or agreed to be paid by the insurance companies in settlement of the loss, and reasonable expenses, hereby assigning to the Public Adjuster all monies due or to become due from the insur *476 anee companies. The fee shall be due after proofs of loss are sworn to and/or first proceeds issued. The Public Adjuster hereby agrees to perform the said services and to receive therefor the consideration described above. This agreement contains the entire agreement between the parties and may not be changed, altered or amended except by a writing signed by the parties hereto.
Complaint, Exhibit A (emphasis added).
On December 22, 2003, Allstate filed preliminary objections, requesting that each of IAB’s claims be stricken for failure to state a cause of action. As to IAB’s breach of contract claim, Allstate asserted that the Complaint fails inasmuch as it refers to an insurance contract that obligates Allstate to pay any proceeds that might become due only to the Insureds; sets forth no allegations to establish the existence of a contractual relationship between it and IAB; and is premised on a contract to which it is not a party. As to IAB’s conversion claim, Allstate argued that the Complaint does not allege facts to establish that Allstate was in possession of any property or chattel that IAB owns. As to IAB’s breach of assignment claim, Allstate contended that even if the terms of the Agreement included ah assignment, it was terminated by the Insureds before any Policy benefits became due. Allstate also contended that 63 P.S. § 1601 et seq., which regulates IAB’s activities, does not include an assignment clause in a public adjuster contract it approves and that any claim based on an alleged breach of assignment is barred under the Policy’s non-transfer provision due to IAB’s failure to secure Allstate’s written consent.
Based on the phrase “hereby assigning to the Public Adjuster all monies due or to become due from the insurance companies” in the Agreement, IAB countered that Allstate’s preliminary objections entirely missed the mark. IAB argued that this phrase provides a legal basis for its claims because it is an assignment by the Insureds to IAB of their right to payment of Policy proceeds from Allstate, such that Allstate became obligated to IAB to include it as a payee on the *477 settlement check. 1 IAB also argued the assignment is irrevocable as a matter of law, having been given for consideration and to secure its fee, so that Allstate retained this obligation in October of 2002, despite the Insureds’ termination of IAB’s services earlier in the year.
On April 7, 2003, the trial court issued an order sustaining Allstate’s preliminary objections, and, on October 6, 2003, entered a judgment for Allstate and against IAB. In its opinion, the trial court focused on that portion of IAB’s Complaint that alleged that there was an assignment in the Agreement and found that the Insureds assigned to IAB a ten percent interest in Policy proceeds. Characterizing the Agreement as establishing an agency relationship in which the Insureds were the principals, the trial court concluded, however, that because the assignment had been revoked by the Insureds, IAB had no interest upon which to sue. Accordingly, the trial court determined that there was no legal cause of action in Allstate’s refusal to honor the assignment for IAB to assert.
IAB filed a timely appeal in the Superior Court. In a published opinion, the Superior Court affirmed the trial court.
The Insurance Adjustment Bureau v. Allstate Insurance Co.,
Instantly, IAB references two documents in its complaint to support a breach of contract action against Allstate: (1) the homeowner’s insurance policy between the insureds and Allstate, and (2) the June 7th service agreement between IAB and the insureds. On the face of these contracts, IAB and Allstate were not parties to the same agreement. However, IAB’s breach of contract claim against Allstate can survive if Allstate was obligated to pay IAB after the insureds terminated IAB’s services.
Instantly, the insureds retained control over the insurance policy itself, having assigned a portion (10%) of the benefits to IAB. Further, IAB represented the insureds in contractual relations with third parties while negotiating the settlement between Allstate and the insureds. Thus, the service agreement between IAB and the insureds created a principal-agent relationship in which the principal/assignor retained the power of revocation despite any language in IAB’s agreement to the contrary. In DeBenedictis v. Hagen,77 Wash.App. 284 ,890 P.2d 529 (1995), the Washington State Appellate Court found an assignment for collection of debts created a principal-agent relationship between the assignor and assignee. The principal then terminated the agent’s services prior to settlement with the debtor. This termination permitted the agent/assignee to claim damages against the principal/assignor for breach of contract. More significantly, however, the court noted that this was the assignee’s only remaining legal right and dismissed the assignee’s claim against the debtor.
We recognize DeBenedictis, supra is persuasive and analogous to the facts in the instant ease. Despite the consideration provided by IAB, the termination of its services prior to settlement would have allowed IAB to sue the insureds for breach of contract. However, IAB no longer retained the right to sue Allstate. Thus, the trial court properly *479 dismissed IAB’s breach of contract and breach of assignment claims against Allstate.
Id. at 1042-43 (footnote and citations omitted).
With regard to IAB’s claim for conversion, the Superior Court held that since IAB was essentially challenging Allstate’s refusal to satisfy an obligation under an insurance contract to pay insurance proceeds, a cause of action in tort did not lie. Id. at 1044. Accordingly, the Superior Court affirmed the trial court’s order and the judgment it entered. Id.
IAB filed a petition for allowance of appeal in this court, which was granted.
The Insurance Adjuster Bureau v. Allstate Insurance
Co.,
We turn first to Allstates’ demurrer, and begin by reiterating that a demurrer tests the legal sufficiency of the complaint.
HCB Contractors v. Liberty Place Hotel Associates,
When, as hére, a defendant demurs to a complaint and challenges a plaintiffs right to recovery on the grounds that the contract upon which plaintiffs claims depend does not mean what the complaint alleges, we look to see whether the contract’s meaning, as is set forth in the complaint, is warranted under contract principles.
See Greek Catholic Congregation of Borough of Olyphant v. Plummer,
Our decision in
In re Plasterer’s Estate,
*482 Given this background, we turn to this case. We observe that in considering the merits of Allstate’s demurrer, the trial court and the Superior Court each ascribed a certain meaning to the language in the Agreement upon which IAJB’s Complaint relies for its allegation that there is an assignment to IAB from the Insureds of the right to all Policy proceeds. With that meaning in mind, the courts then determined that under legal principles they deemed relevant, IAB did not state a cause of action against Allstate in any of the counts in the Complaint. In the analyses they respectively undertook, however, the courts simply declared what each believed the Agreement to mean. Significantly, neither court considered whether the Complaint’s allegation as to the Agreement’s meaning was an averment of fact that had to be accepted as true by applying the test that we have stated herein. That test is whether the allegation in the Complaint that states what the Agreement means is warranted under contract principles.
In this regard, we find it reasonably clear that, under the contract principles we have reiterated, see supra pp. 7-8, the Agreement can indeed support the Complaint’s allegation that it contained an assignment of rights, inasmuch as it provides that the Insureds are “hereby assigning to the Public Adjuster all monies due or to become due from the insurance companies.”
Moreover, under these same principles, it is our view that the primary interpretive question raised by Allstate’s preliminary objections is not whether this language results in an assignment as such, but rather, what type of assignment the parties intended. That is, was the assignment for purposes of collection, which accordingly, should be deemed to have created an agency relationship that was revocable by the Insureds, as Allstate argues; or was it an assignment for purposes of security, which accordingly, should be deemed irrevocable upon its partial performance, in line with decisions that have recognized the protected status of security arrangements, as IAB contends.
*483 Upon review of these interpretations, we find both of them to be reasonable. We therefore conclude that the Agreement on its face is ambiguous as to whether the parties intended to move beyond a principal/agent relationship to provide security for payment. Thus, we hold that Allstate did not establish to the requisite certainty that solely a principal/agent relationship was intended to support a demurrer to the claims in IAB’s Complaint at the preliminary objections stage on the revocation ground.
In addition, we determine that Allstate’s preliminary objections cannot be sustained on the other bases asserted. First, Allstate contended that the Agreement was invalid because it differed in material respect from that mandated by statute.
See
63 P.S. § 1605(a) (requiring public adjusters to use contracts “on a form approved by the Insurance Commissioner”). In particular, Allstate claimed that, because there is no assignment clause in the contract approved by the Insurance Commissioner, the attempted assignment of rights was ineffective as a matter of law. However, the regulations promulgated by the Commissioner pertaining to the contents of public adjuster contracts do not set forth a form contract as a whole, but only a form for the mandatory cancellation notice — that is, the notice of the four-day period during which the insured may cancel the contract.
See
31 Pa.Code § 115.2(a)(7). The remainder of Section 115.2(a) provides only “minimum standards” for such contracts,
see
31 Pa.Code § II 5.2(a)(1—6) (requiring that the contract include such things as the name, address, and telephone number of the public adjuster, the name and address of the insured, and the consideration expressed as a percentage of insurance payments or as a maximum dollar amount), but does not purport to limit the contract to those items only. Moreover, other applicable regulations appear to assume that the contract may create a security interest in favor of the adjuster.
See
31 Pa.Code § 115.3(d)(3). Therefore, while IAB may indeed be barred from recovering if the Agreement violates the Public Adjuster Act,
see generally Dowling v. Paules,
Second, Allstate challenged the alleged assignment on the ground that it violated the Policy’s non-transfer clause. That provision states, in full, “You may not transfer this policy to another person without our written consent.” (Exhibit B to Allstate’s Preliminary Objections to Plaintiffs Complaint). In our view, a threshold question — and one which the trial court and Superior Court did not address — is whether this non-transfer provision was merely intended to make the Policy itself non-transferable (e.g., in the event the property changed ownership), or whether it was additionally intended to exclude an assignment of insurance benefits after a loss. If the latter was intended, and the provision is enforceable in the post-loss timeframe,
see National Memorial Services v. Metropolitan Life Ins. Co.,
For these reasons, the order of the Superior Court is reversed, and this matter is remanded to the Superior Court with instructions to remand it to the trial court for further proceedings consistent with this opinion.
Jurisdiction relinquished.
Notes
. An assignment is a transfer of property or a right from one person to another; unless qualified, it extinguishes the assignor’s right to performance by the obligor and transfers that right to the assignee.
Legal Capital, L.L.C. v. Medical Professional Liability Catastrophe Loss Fund,
. While Allstate does not expressly concede that the assignment language of the contract was effective to create an actual assignment, the primary thrust of its argument is that no irrevocable assignment was created. See, e.g., Brief for Appellee at 7 (“In its simplest form, the sole issue in this case is whether the fee agreement between IAB and Allstate’s insured ... constitutes an irrevocable assignment that Allstate can be bound to honor.”); see also id. at 5, 9, 12-23.
. We agree with the Washington appellate court that an assignment that is purely for purposes of collection should be deemed revocable, as this is consistent with the principal/agent relationship that is intended, and equitable ownership of the funds subject to collection remains with the assignor.
See
. Inasmuch as the decision to sustain or overrule a demurrer involves a matter of law,
Yocca v. Pittsburgh Steelers Sports, Inc.,
