Ejemplo n.º 1
0
	/**
	 * Tests the JArrayHelper::invert method.
	 *
	 * @param   array   $input     The array being input.
	 * @param   string  $expected  The expected return value.
	 *
	 * @return  void
	 *
	 * @dataProvider  getTestInvertData
	 * @since   12.3
	 */
	public function testInvert($input, $expected)
	{
		$this->assertThat(
			JArrayHelper::invert($input),
			$this->equalTo($expected)
		);
	}