@Test public void scopePreservedWhenTokenCreated() { assertEquals("[read]", tokenServices.createAccessToken(authentication).getScope().toString()); tokenServices.getAccessToken(authentication); }