public function testBuildVariantTree() { $tree = $this->context->buildVariantTree(); $this->assertTrue($tree instanceof VariantTree); $this->assertEquals('default', $tree->getRoot()->getContent()->getName()); }