๋ง์ด๊ทธ๋ ์ด์ ๊ฒฝ๋ก๋ https://github.com/sebastianbergmann/phpunit/issues/3368 ์ ์ฐธ์กฐ
๋์ ๋ฌด์์ ์ฌ์ฉํ ๊ฒ์ธ๊ฐ?
์ฝ๋์ ์ฌ์ฉ ์ค๋จ์ผ๋ก ์ธํด ๋ฐ์ํ๋ ์ฌ๋๋ค์ ์ํด ๋์ ์ฌ์ฉํ ๋ฐฉ๋ฒ์ ๋ํ ๊ฐ๋ตํ ์์ฝ์ด ์์ต๋๋ค(ํด๋ฆญ์ ์ ์ฝํ๊ธฐ ์ํด).
assertIsArray()
assertIsBool()
assertIsFloat()
assertIsInt()
assertIsNumeric()
assertIsObject()
assertIsResource()
assertIsString()
assertIsScalar()
assertIsCallable()
assertIsIterable()
assertIsNotArray()
assertIsNotBool()
assertIsNotFloat()
assertIsNotInt()
assertIsNotNumeric()
assertIsNotObject()
assertIsNotResource()
assertIsNotString()
assertIsNotScalar()
assertIsNotCallable()
assertIsNotIterable()
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ฝ๋์ ์ฌ์ฉ ์ค๋จ์ผ๋ก ์ธํด ๋ฐ์ํ๋ ์ฌ๋๋ค์ ์ํด ๋์ ์ฌ์ฉํ ๋ฐฉ๋ฒ์ ๋ํ ๊ฐ๋ตํ ์์ฝ์ด ์์ต๋๋ค(ํด๋ฆญ์ ์ ์ฝํ๊ธฐ ์ํด).