public function testItStartsWithNotStrictThrowsException() { $array = new \SplFixedArray(2); $array[0] = 'some-value'; $array[1] = 1337; $this->setExpectedException(Exception::class); Assert::startsWith($array, '1338'); }
public function testStartsWithWillThrowExceptionVariation2() { $this->setExpectedException(Exception::class); $value = '123AAAAAAA'; $contains = '134'; $identical = true; Assert::startsWith($value, $contains, $identical); }