15 protected static $result = array(
"I am",
"a test string",
"for split");
19 $this->f =
new Transformation\Factory();
20 $this->split_string = $this->f->splitString(
"#");
26 $this->split_string = null;
31 $arr = $this->split_string->transform(self::STRING_TO_SPLIT);
40 $next_arr = $this->split_string->transform($arr);
44 $this->assertTrue($raised);
49 $with = $this->split_string->transform($without);
53 $this->assertTrue($raised);
58 $with = $this->split_string->transform($std_class);
62 $this->assertTrue($raised);
67 $split_string = $this->f->splitString(
"#");
68 $arr = $split_string(self::STRING_TO_SPLIT);
74 $split_string = $this->f->splitString(
"#");
79 $next_arr = $split_string($arr);
83 $this->assertTrue($raised);
88 $with = $split_string($number);
92 $this->assertTrue($raised);
97 $with = $split_string($std_class);
101 $this->assertTrue($raised);
TestCase for SplitString transformations.