/**
* Tests that the `Media` class' configuration can be reset to its default state.
*
* @return void
*/
public function testStateReset()
{
$this->assertFalse(in_array('foo', Media::types()));
Media::type('foo', 'text/x-foo');
$this->assertTrue(in_array('foo', Media::types()));
Media::reset();
$this->assertFalse(in_array('foo', Media::types()));
}