<?php
/**
 * Part of Windwalker project Test files.
 *
 * @copyright  Copyright (C) 2014 - 2015 LYRASOFT Taiwan, Inc. All rights reserved.
 * @license    GNU Lesser General Public License version 3 or later.
 */

namespace Windwalker\DataMapper\Test;

use Windwalker\DataMapper\Adapter\WindwalkerAdapter;

/**
 * Test class of WindwalkerAdapter
 *
 * @since 2.0
 */
class WindwalkerAdapterTest extends \PHPUnit_Framework_TestCase
{
	/**
	 * Test instance.
	 *
	 * @var WindwalkerAdapter
	 */
	protected $instance;

	/**
	 * Sets up the fixture, for example, opens a network connection.
	 * This method is called before a test is executed.
	 *
	 * @return void
	 */
	protected function setUp()
	{
		$this->instance = new WindwalkerAdapter;
	}

	/**
	 * Tears down the fixture, for example, closes a network connection.
	 * This method is called after a test is executed.
	 *
	 * @return void
	 */
	protected function tearDown()
	{
	}

	/**
	 * Method to test find().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::find
	 * @TODO   Implement testFind().
	 */
	public function testFind()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test create().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::create
	 * @TODO   Implement testCreate().
	 */
	public function testCreate()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test updateOne().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::updateOne
	 * @TODO   Implement testUpdateOne().
	 */
	public function testUpdateOne()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test updateAll().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::updateAll
	 * @TODO   Implement testUpdateAll().
	 */
	public function testUpdateAll()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test delete().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::delete
	 * @TODO   Implement testDelete().
	 */
	public function testDelete()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test getFields().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::getFields
	 * @TODO   Implement testGetFields().
	 */
	public function testGetFields()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test transactionStart().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::transactionStart
	 * @TODO   Implement testTransactionStart().
	 */
	public function testTransactionStart()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test transactionCommit().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::transactionCommit
	 * @TODO   Implement testTransactionCommit().
	 */
	public function testTransactionCommit()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}

	/**
	 * Method to test transactionRollback().
	 *
	 * @return void
	 *
	 * @covers Windwalker\DataMapper\Adapter\WindwalkerAdapter::transactionRollback
	 * @TODO   Implement testTransactionRollback().
	 */
	public function testTransactionRollback()
	{
		// Remove the following lines when you implement this test.
		$this->markTestIncomplete(
			'This test has not been implemented yet.'
		);
	}
}
