1<?php 2/** 3 * Adding objects to the server. 4 * 5 * PHP version 5 6 * 7 * @category Kolab 8 * @package Kolab_Server 9 * @author Gunnar Wrobel <wrobel@pardus.de> 10 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 11 * @link http://pear.horde.org/index.php?package=Kolab_Server 12 */ 13 14/** 15 * Require our basic test case definition 16 */ 17require_once __DIR__ . '/Scenario.php'; 18 19/** 20 * Adding objects to the server. 21 * 22 * Copyright 2008-2016 Horde LLC (http://www.horde.org/) 23 * 24 * See the enclosed file COPYING for license information (LGPL). If you 25 * did not receive this file, see http://www.horde.org/licenses/lgpl21. 26 * 27 * @category Kolab 28 * @package Kolab_Server 29 * @author Gunnar Wrobel <wrobel@pardus.de> 30 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 31 * @link http://pear.horde.org/index.php?package=Kolab_Server 32 */ 33class Horde_Kolab_Server_Integration_AddingObjectsTest extends Horde_Kolab_Server_Integration_Scenario 34{ 35 /** 36 * Test adding valid users. 37 * 38 * @param array $user The user to add. 39 * 40 * @scenario 41 * @dataProvider validUsers 42 * 43 * @return NULL 44 */ 45 public function addingValidUser($user) 46 { 47 $this->given('several Kolab servers') 48 ->when('adding a Kolab server object', $user) 49 ->then( 50 'the result should be an object of type', 51 'Horde_Kolab_Server_Object_Kolab_User' 52 ); 53 } 54} 55