Lines Matching refs:assertSame

32 …$this->assertSame($value, Inline::parse($yaml, $flags), sprintf('::parse() converts an inline YAML…
42 $this->assertSame(serialize($value), serialize($actual));
52 $this->assertSame($value, $actual);
91 … $this->assertSame($value, Inline::parse(Inline::dump($value), $parseFlags), 'check consistency');
118 $this->assertSame($value, Inline::parse(Inline::dump($value)));
195 $this->assertSame($expect, Inline::parseScalar($value));
203 $this->assertSame($expected, Inline::parse($yaml, 0, ['var' => 'var-value']));
227 $this->assertSame([$foo], Inline::parse('[*foo]', 0, ['foo' => $foo]));
293 $this->assertSame($expected, Inline::isHash($array));
539 … $this->assertSame(gmmktime($hour, $minute, $second, $month, $day, $year), Inline::parse($yaml));
554 $this->assertSame($timezone, $date->format('O'));
588 $this->assertSame($expected, Inline::dump($dateTime));
609 $this->assertSame('Hello world', Inline::parse($data));
679 $this->assertSame($expected, Inline::parse($yaml));
692 $this->assertSame(['' => 'foo'], Inline::parse('{ "": foo }'));
703 $this->assertSame($expected, Inline::parse($yaml));
721 $this->assertSame('foo', $value[0]->getTag());
722 $this->assertSame('', $value[0]->getValue());
730 $this->assertSame('foo', $value[0]->getTag());
731 $this->assertSame('', $value[0]->getValue());
739 $this->assertSame('bar', $value['foo']->getTag());
740 $this->assertSame('', $value['foo']->getValue());
748 $this->assertSame('bar', $value['foo']->getTag());
749 $this->assertSame('', $value['foo']->getValue());