
#####
Param
#####


****
NAME
****


Kernel::System::UnitTest::Param - Helper to unit test the Param object


********
SYNOPSIS
********


Functions to unit test Params


****************
PUBLIC INTERFACE
****************


new()
=====


create an object


.. code-block:: perl

     use Kernel::System::ObjectManager;
     local $Kernel::OM = Kernel::System::ObjectManager->new();
     my $UnitTestParamObject = $Kernel::OM->Get('Kernel::System::UnitTest::Param');



ParamUploadSet()
================


Sets a file path as an upload parameter for the Param object.


.. code-block:: perl

     my $Success = $UnitTestParamObject->ParamUploadSet(
         Name     => 'Upload',
         Location => '...',
     );


Returns:


.. code-block:: perl

     my $Success = 1;



ParamSet()
==========


Sets a parameter for the Param object.


.. code-block:: perl

     my $Success = $UnitTestParamObject->ParamSet(
         Name  => 'Upload',
         Value => '...',
     );


Returns:


.. code-block:: perl

     my $Success = 1;




