public function testSymfony2BrowserKit()
    {
        $html = <<<EOF
            <html lang="ja" xml:lang="ja" xmlns="http://www.w3.org/1999/xhtml">
            <head><meta content="text/html; charset=Shift-JIS" http-equiv="Content-Type" /></head>
            <body><!--① ㈱① ㈱-->ああ</body>
EOF;
        $sjis = mb_convert_encoding($html, 'SJIS-win', 'UTF-8');
        $response = new \Symfony\Component\BrowserKit\Response($sjis, 200, array('Content-Type' => 'text/html; charset=Shift-JIS'));
        $response = WrapperFactory::factory($response);
        $this->assertInstanceOf('Symfony\\Component\\BrowserKit\\Response', $response);
        $this->assertInstanceOf('Diggin\\Http\\Charset\\Wrapper\\Symfony2', $response);
        $this->assertEquals($html, $response->getContent());
    }
<?php

include 'SplClassLoader.php';
include '../../../../vendor/autoload.php';
$loader = new SplClassLoader('Diggin', '../../../../src/');
$loader->register();
use Diggin\Http\Charset\WrapperFactory;
$header = "HTTP/1.1 200 OK" . "\r\n" . "Content-Type: text/html; charset=Shift-JIS;";
// ... or SJIS-win ?
$html = <<<HTML
<html lang="ja" xml:lang="ja" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=Shift-JIS" http-equiv="Content-Type" />
</head>
<body>
<!--① ㈱① ㈱-->ああ
</body>
HTML;
$html = mb_convert_encoding($html, 'SJIS-win', 'UTF-8');
$response = Zend\Http\Response::fromString("{$header}\r\n\r\n{$html}");
$wrap = WrapperFactory::factory($response);
echo '[converted response body]', PHP_EOL, PHP_EOL;
var_dump($wrap->getBody());