Clone oauth2 Tests/Model/InMemoryTest.php.