public getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null ) | ||
$property | Sulu\Component\Content\Compat\PropertyInterface |
public function testGetDefaultParams() { $type = new ContactSelectionContentType($this->template, $this->contactManager->reveal(), $this->accountManager->reveal(), $this->serializer->reveal(), new CustomerIdConverter(), new IndexComparator()); $defaultParams = $type->getDefaultParams(); $this->assertEquals(['contact' => new PropertyParameter('contact', true), 'account' => new PropertyParameter('account', true)], $defaultParams); }