public function testRefreshUserWithException()
{
try {
$Member = $this->app['eccube.repository.member']->refreshUser(new DummyMember());
$this->fail();
} catch (UnsupportedUserException $e) {
$this->expected = 'Instances of "Eccube\\Tests\\Repository\\DummyMember" are not supported.';
$this->actual = $e->getMessage();
}
$this->verify();
}