
103 Mich. App. 784 (1981)
303 N.W.2d 893
LOCAL 80 SHEET METAL WORKERS INTERNATIONAL ASSOCIATION, AFL-CIO
v.
TISHMAN CONSTRUCTION CORPORATION
Docket No. 44182.
Michigan Court of Appeals.
Decided February 18, 1981.
Klein & Bloom, P.C. (by Barbara B. Armstrong), for plaintiffs.
Lewis, White, Clay & Graves (by C. Jaye Berger), for defendant.
Before: DANHOF, C.J., and CYNAR and MacKENZIE, JJ.
PER CURIAM.
Plaintiffs, representing a class of 102 sheet metal workers, were hired by the Limbach Company to do fabrication and installation of mechanical and air handling systems in the Detroit Renaissance Center. Limbach had agreed to perform the work in a subcontract agreement with defendant Tishman Construction Corporation, the construction manager and general contractor of the project, as well as an agent of the owner, Detroit Renaissance Partnership.
Plaintiffs, who were laid off on November 7, 1975, brought the instant action against both the employer Limbach and the general contractor Tishman, alleging that plaintiffs, as third-party beneficiaries to the subcontract agreement between the employer and defendant, were wrongfully discharged due to Tishman's failure to perform its duty under that agreement to provide temporary heat on the job during freezing weather. On December 27, 1977, the trial judge *787 granted Limbach's motion for summary judgment, which has not been appealed. From the trial court's order entered February 23, 1979, granting Tishman's motion for summary judgment under GCR 1963, 117.2(1) and (3), plaintiffs bring this appeal as of right.
Plaintiffs initially contend that the trial court erred in granting defendant Tishman's summary judgment on the ground that plaintiffs have failed to state a claim of action upon which relief can be granted. GCR 1963, 117.2(1).
A motion under GCR 1963, 117.2(1) is to be tested by the pleadings alone. The motion tests the legal basis of the complaint, not whether it can be factually supported. Crowther v Ross Chemical & Manufacturing Co, 42 Mich App 426; 202 NW2d 577 (1972). The factual allegations of the complaint are taken as true, along with any inferences or conclusions which may fairly be drawn from the facts alleged. Sullivan v The Thomas Organization, PC, 88 Mich App 77, 82; 276 NW2d 522 (1979). Unless the claim is so clearly unenforceable as a matter of law that no factual development can possibly justify a right to recover, the motion under this subrule should be denied. Staffney v Fireman's Fund Ins Co, 91 Mich App 745, 751; 284 NW2d 277 (1979).
Plaintiffs argue that they have alleged a legal claim under Michigan's third-party beneficiary statute, MCL 600.1405; MSA 27A.1405, which provides, in pertinent part:
"Any person for whose benefit a promise is made by way of contract, as hereinafter defined, has the same right to enforce said promise that he would have had if the said promise had been made directly to him as the promisee.
"(1) A promise shall be construed to have been made *788 for the benefit of a person whenever the promisor of said promise has undertaken to give or to do or refrain from doing something directly to or for said person."
In their complaint, plaintiffs alleged that defendant Tishman breached the following provision of the subcontract agreement, resulting in plaintiffs' discharge:
"Contractor is to be furnished, without cost to it, the following services and energy and adequate and full operating temporary construction services to provide reasonable working conditions for its personnel and to allow it to install, protect and test its work:

* * *
"d. Enclosures and heating as determined by Construction Manager where Contractor's work is scheduled in or exposed to sub-freezing weather.

* * *
"The above provisions shall not have the effect of diminishing the scope of work assumed by Contractor as defined in the contract documents."
Plaintiffs further alleged that as a consequence of defendant Tishman's breach, Limbach was forced to lay off 102 workers. Plaintiffs request damages in lost wages of $107.44 per day for each employee laid off for each day of work lost.
The standard for determining whether Tishman has undertaken to benefit plaintiffs through its promise to provide heat is an objective one, to be discerned from the terms of the contract itself. Guardian Depositors Corp v Brown, 290 Mich 433, 438; 287 NW 798 (1939), Jachim v Coussens, 88 Mich App 648, 654; 278 NW2d 708 (1979). The contracting parties' motives and subjective intent are immaterial in determining the existence of a third-party beneficiary:
*789 "`So long as the contract necessarily and directly benefits the third person, it is immaterial that this protection was afforded him, not as an end in itself, but for the sole purpose of securing to the promisee some consequent benefit or immunity. In short, the motive, purpose, or desire of the parties is a quite different thing from their intention. The former is immaterial; the intention as disclosed by the terms of the contract, governs. It is to be borne in mind that the parties are presumed to intend the consequences of a performance of the contract. That which is contemplated by the terms of the contract is "intended" by the parties.' Annotation, `Right of Third Persons to Enforce Contract Between Others for His Benefit,' 81 ALR 1271, 1287." Talucci v Archambault, 20 Mich App 153, 160; 173 NW2d 740 (1969).
See also Guardian, supra.
Talucci involved a situation somewhat similar to the case at bar. There the plaintiff contended that he was a third-party beneficiary to a contract between his employer and the defendants, pursuant to which the defendants agreed to remove snow from the employer's premises. The plaintiff argued that the purpose disclosed by the contractual provisions was to provide safe ingress to and egress from the employer's building for its employees and that he was injured due to the defendant's breach when he slipped and fell on an accumulation of snow at an entrance to the building. Reversing the lower court's order of summary judgment in favor of the defendants, this Court held that the test to be applied on remand is "whether defendants, as promisors, have undertaken to discharge any duty owed by plaintiff's employers to its employees".
Thus, under the Talucci analysis, plaintiffs herein arguably derived a benefit from the contract between their employer and Tishman. However, *790 we perceive this benefit to be limited to the promise of a safe and suitable work environment. We do not believe defendant Tishman obligated itself to provide plaintiffs with permanent employment for the duration of the construction project. That no such guarantee was anticipated by plaintiffs' employer, Limbach, is shown from the provisions of the collective bargaining agreement between plaintiffs and Limbach, pursuant to which Limbach retained the sole right to hire and fire its employees, including the right to discharge them without cause. Thus, in contrast to Talucci, plaintiffs herein are not asserting that defendant Tishman had undertaken to discharge a duty already owed by plaintiffs' employer to its employees.
In that plaintiffs are attempting to enforce through a third-party beneficiary action a right they could not assert as parties to the collective bargaining agreement covering the same construction project, this case resembles Arrow Sheet Metal Works, Inc v Bryant & Detwiler Co, 338 Mich 68; 61 NW2d 125 (1953). In Arrow, the plaintiff, a subcontractor on a construction project, sought recovery as a third-party beneficiary to the contract between the owner and the defendant, the general contractor, pursuant to which the defendant allegedly promised to keep roadways leading to the construction project free from ice, snow, and other obstructions in order to permit delivery of materials and movement of personnel and was also required to provide electrical current for temporary power and light so that the plaintiff's tools and equipment might be operated without interruption. In affirming the trial court's denial of recovery on the third-party beneficiary theory, the Michigan Supreme Court held that the plaintiff was bound by a provision in its own contract with the defendant, which provided as follows:
*791 "Time is the Essence of this Order. Work to be done at such time or times and in such manner and in such quantities as may be required by us [defendant], to meet our time schedule." Id., 75.
The Court construed the clause accordingly:
"The clause quoted can scarcely be given any interpretation other than as granting to defendant the right to direct and control the time and manner of doing the work covered by the subcontract. * * *
"The provision quoted is at variance with the claim of the plaintiff that the general conditions specified in the contract between defendant and the owner were incorporated in the subcontract to such an extent and in such manner as to impose on defendant a duty to perform them for plaintiff's benefit to the end that any delay in the performance of the subcontract, to plaintiff's damage, should not occur." Id., 76.
Similarly, we find that the provisions of the collective bargaining agreement giving plaintiffs' employer the right to dismiss its employees without cause is dispositive of plaintiffs' third-party beneficiary action.
Affirmed. Costs to defendant.
