def METHOD_NAME(self):
    """
    Test that rotation works
    """
    start_name = self.db.name
    self.db._rotate()
    end_name = self.db.name
    databases = [db for db in self.server.listDatabases() if db.startswith('rotdb_unittest_')]
    self.assertTrue(start_name in databases)
    self.assertTrue(end_name in databases)