Exemplo n.º 1
0
 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'));
 }
Exemplo n.º 2
0
 public function setUp()
 {
     $this->_test = CM_Model_Splittest::create('foo', ['v1', 'v2']);
 }