Author: sb
Date: Tue Jul 31 10:08:12 2007
New Revision: 5765
Log:
- Add test.
# 100% code coverage for ezcWorkflowNodeInput.
Modified:
trunk/Workflow/tests/node_test.php
Modified: trunk/Workflow/tests/node_test.php
==============================================================================
--- trunk/Workflow/tests/node_test.php [iso-8859-1] (original)
+++ trunk/Workflow/tests/node_test.php [iso-8859-1] Tue Jul 31 10:08:12 2007
@@ -74,6 +74,15 @@
$this->fail();
}
+ public function testInputConstructor4()
+ {
+ $input = new ezcWorkflowNodeInput( array( 'variable' ) );
+ $configuration = $input->getConfiguration();
+
+ $this->assertArrayHasKey( 'variable', $configuration );
+ $this->assertType( 'ezcWorkflowConditionIsAnything',
$configuration['variable'] );
+ }
+
public function testVariableSetConstructor()
{
try
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components