Source

						public function testConfig() {
		$this->assertFalse($this->adaptable->config());

		$items = array(array(
			'adapter' => 'some\adapter',
			'filters' => array('filter1', 'filter2')
		));
		$result = $this->adaptable->config($items);
		$this->assertNull($result);

		$expected = $items;
		$result = $this->adaptable->config();
		$this->assertEqual($expected, $result);

		$items = array(array(
			'adapter' => 'some\adapter',
			'filters' => array('filter1', 'filter2')
		));
		$this->adaptable->config($items);
		$result = $this->adaptable->config();
		$expected = $items;
		$this->assertEqual($expected, $result);
	}