/**
  * test monthly
  * @group Core
  * @group TablePartitioning
  */
 public function testMonthlyPartition()
 {
     $tableName = 'archive_numeric';
     $p = new Piwik_TablePartitioning_Monthly($tableName);
     $timestamp = strtotime("10 September 2000");
     $suffixShouldBe = "_2000_09";
     $prefixTables = Piwik_Config::getInstance()->database['tables_prefix'];
     $tablename = $prefixTables . $tableName . $suffixShouldBe;
     $p->setTimestamp($timestamp);
     $allTablesInstalled = Piwik::getTablesInstalled($forceReload = true);
     $this->assertContains($tablename, $allTablesInstalled);
     $this->assertEquals($tablename, $p->getTableName());
     $this->assertEquals($tablename, (string) $p->__toString());
 }