1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/9823] Move mock file into the mock/ folder.

PHPBB3-9823
This commit is contained in:
Joas Schilling
2011-02-01 14:54:29 +01:00
parent 6b00d7aa09
commit 9846d806f3
6 changed files with 10 additions and 10 deletions

33
tests/mock/lang.php Normal file
View File

@@ -0,0 +1,33 @@
<?php
/**
*
* @package testing
* @copyright (c) 2010 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* phpbb_mock_lang
* mock a user with some language-keys specified
*/
class phpbb_mock_lang implements ArrayAccess
{
public function offsetExists($offset)
{
return true;
}
public function offsetGet($offset)
{
return $offset;
}
public function offsetSet($offset, $value)
{
}
public function offsetUnset($offset)
{
}
}