<?php

require_once dirname(__FILE__) . '/../../../../../../include/chatengine/chatengine.php';
require_once CHEN_DIR.'/transaction.php';
require_once CHEN_DIR.'/transaction/end_day.php';

/**
 * Test class for EndDayTransaction.
 * Generated by PHPUnit on 2011-01-01 at 14:35:21.
 */
class EndDayTransactionTest extends PHPUnit_Framework_TestCase {

  /**
   * @var EndDayTransaction
   */
  protected $object;

  protected $chen;

  /**
   * Sets up the fixture, for example, opens a network connection.
   * This method is called before a test is executed.
   */
  protected function setUp() {
    $this->chen = new ChatEngine('localhost', 'jinrou', 'grayran', 'satorituri');
    $this->object = new EndDayTransaction;
    $this->chen->beginTransaction();
  }

  /**
   * Tears down the fixture, for example, closes a network connection.
   * This method is called after a test is executed.
   */
  protected function tearDown() {
    $this->chen->rollback();
  }

  /**
   * @todo Implement testIsAllVoted().
   */
  public function testIsAllVoted() {
    // Remove the following lines when you implement this test.
    $this->markTestIncomplete(
            'This test has not been implemented yet.'
    );
  }

  /**
   * @todo Implement testIsTimeup().
   */
  public function testIsTimeup() {
    // Remove the following lines when you implement this test.
    $this->markTestIncomplete(
            'This test has not been implemented yet.'
    );
  }

  /**
   * @todo Implement testAlartTimeup().
   */
  public function testAlartTimeup() {
    // Remove the following lines when you implement this test.
    $this->markTestIncomplete(
            'This test has not been implemented yet.'
    );
  }

  /**
   * @todo Implement testResetVote().
   */
  public function testResetVote() {
    // Remove the following lines when you implement this test.
    $this->markTestIncomplete(
            'This test has not been implemented yet.'
    );
  }

  /**
   * @todo Implement testHandleVote().
   */
  public function testHandleVote() {
    // Remove the following lines when you implement this test.
    $this->markTestIncomplete(
            'This test has not been implemented yet.'
    );
  }

  /**
   * @todo Implement testSunset().
   */
  public function testSunset() {
    // Remove the following lines when you implement this test.
    $this->markTestIncomplete(
            'This test has not been implemented yet.'
    );
  }
}

?>
