Extends
lithium\test\Unit
Tests that a decode handler is not called when the Media type has none configured.
Returns
voidSource
public function testNoDecode() {
Media::type('my', 'text/x-my', array('decode' => false));
$result = Media::decode('my', 'Hello World');
$this->assertEqual(null, $result);
}