/** * UtilityTest::testTypeCast() * * @covers ::typeCast * @return void */ public function testTypeCast() { $res = Utility::typeCast(2, 'string'); $this->assertNotSame(2, $res); $this->assertSame('2', $res); }