Lines Matching refs:inline
860 $inline = new InlineParent();
862 $result = $this->serialize($inline);
866 … self::assertEquals($inline, $this->deserialize($this->getContent('inline'), get_class($inline)));
872 $inline = new InlineParentWithEmptyChild(new InlineChildEmpty());
873 $result = $this->serialize($inline);
876 … self::assertEquals($inline, $this->deserialize($this->getContent('inline'), get_class($inline)));
883 $inline = new ParentDoNotSkipWithEmptyChild(new InlineChildEmpty());
884 self::assertEquals($this->getContent('empty_child'), $this->serialize($inline));
890 $inline = new ParentDoNotSkipWithEmptyChild($inner);
891 self::assertEquals($this->getContent('empty_child'), $this->serialize($inline));
895 $inline = new ParentDoNotSkipWithEmptyChild(new InlineChildWithGroups());
896 self::assertEquals($this->getContent('empty_child'), $this->serialize($inline, $context));
902 $inline = new ParentSkipWithEmptyChild(new InlineChildEmpty());
903 self::assertEquals($this->getContent('empty_child_skip'), $this->serialize($inline));
909 $inline = new ParentSkipWithEmptyChild($inner);
910 self::assertEquals($this->getContent('empty_child_skip'), $this->serialize($inline));
914 $inline = new ParentSkipWithEmptyChild(new InlineChildWithGroups());
915 … self::assertEquals($this->getContent('empty_child_skip'), $this->serialize($inline, $context));