/** * Asserts that a variable is not of a given type. * * @param string $expected * @param mixed $actual * @param string $message * @since Method available since Release 3.5.0 */ function assertNotInternalType($expected, $actual, $message = '') { return PHPUnit_Framework_Assert::assertNotInternalType($expected, $actual, $message); }
public function toBeType($type) { if ($this->negate) { a::assertNotInternalType($type, $this->actual); } else { a::assertInternalType($type, $this->actual); } }
/** * Expect that a variable is not of a given type. * * @param string $expected * @param string $message * * @return Expect */ public function notToBeOfType($expected, $message = '') { Assert::assertNotInternalType($expected, $this->value, $message); return $this; }
public function notInternalType($type) { a::assertNotInternalType($type, $this->actual, $this->description); }
public function isNotInternalType($type) { Assert::assertNotInternalType($type, $this->actual, $this->description); return $this; }