/** * @covers MarketMeSuite\Phranken\Util\ArrayUtils::BuildJoinedArray */ public function testBuildJoinedArray() { $actual = ArrayUtils::buildJoinedArray(array(array('apples', 'oranges'), array('pears', 'bananas')), ','); $expected = array(0 => 'apples,oranges', 1 => 'pears,bananas'); $this->assertEquals($expected, $actual); }