public function testExists() { $this->assertFalse(CM_Model_Splittest::exists('foo')); $splittest = CM_Model_Splittest::create('foo', ['bar']); $this->assertTrue(CM_Model_Splittest::exists('foo')); $splittest->delete(); $this->assertFalse(CM_Model_Splittest::exists('foo')); }
public function setUp() { $this->_test = CM_Model_Splittest::create('foo', ['v1', 'v2']); }