* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @link http://pear.horde.org/index.php?package=Kolab_Server */ /** * Require our basic test case definition */ require_once __DIR__ . '/Scenario.php'; /** * Adding objects to the server. * * Copyright 2008-2016 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @category Kolab * @package Kolab_Server * @author Gunnar Wrobel * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @link http://pear.horde.org/index.php?package=Kolab_Server */ class Horde_Kolab_Server_Integration_AddingObjectsTest extends Horde_Kolab_Server_Integration_Scenario { /** * Test adding valid users. * * @param array $user The user to add. * * @scenario * @dataProvider validUsers * * @return NULL */ public function addingValidUser($user) { $this->given('several Kolab servers') ->when('adding a Kolab server object', $user) ->then( 'the result should be an object of type', 'Horde_Kolab_Server_Object_Kolab_User' ); } }