<?php require_once "Customer/BDL_Test_Customer.php"; /** * @backupGlobals disabled * @backupStaticAttributes disabled */ class BDL_Test_Customer_data extends BDL_Test_Customer { /** * Return fixture data set for current database connection. * * @access protected * @return PHPUnit_Extensions_Database_DataSet_IDataSet * @todo Parameterise the fixture filename. */ protected function getDataSet() { return $this->createXMLDataSet( TEST_CLASS_PATH . '/Customer/BDL_Fixture_Customer.xml' ); } /** * Return whether or not the fixture should be loaded. * * @return boolean */ protected function willLoadFixture() { return true; } /** * @dataProvider provideColumnLegalValues */ public function testColumnLegalValue( $columnName, $legalValue ) { $this->assertColumnLegalValue( $columnName, $legalValue ); } // TODO: test for email constraints? } ?>