Eccube\Tests\Repository\MemberRepositoryTest::testRefreshUserWithException PHP Method

testRefreshUserWithException() public method

    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();
    }