assertInstanceOf(Singleton::class, $firstCall); // 断言两个变量具有相同的类型和值。 用于对象,它断言两个变量引用同一个对象 $this->assertSame($firstCall, $secondCall); } }