for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class ProductDocTest extends SapphireTest
{
/**
* @var string
*/
protected static $fixture_file = 'product-catalog/tests/fixtures.yml';
*
public function testGetCMSFields()
$object = singleton('ProductDoc');
$fields = $object->getCMSFields();
$this->assertInstanceOf('FieldList', $fields);
}