예제 #1
0
/**
 * Test if the given value is an instance of the given type
 *
 * @param string $type
 * @param mixed  $actual
 * @param string $message
 * @throws \Cundd\TestFlight\Exception\AssertionError
 */
function test_flight_assert_type(string $type, $actual, string $message = '')
{
    \Cundd\TestFlight\Assert::assertTypeOf($type, $actual, $message);
}