code:     public void setUp() throws Exception {
          TestClient testClient = new TestClient(getMockMvc());
          adminToken = testClient.getClientCredentialsOAuthAccessToken("admin", "adminsecret",
                  "clients.read clients.write clients.secret scim.write");
          String clientId = generator.generate().toLowerCase();
          String clientSecret = generator.generate().toLowerCase();
  
          BaseClientDetails clientDetails = new BaseClientDetails(clientId, null, null, "client_credentials", "password.write");
          clientDetails.setClientSecret(clientSecret);
  
          utils().createClient(getMockMvc(), adminToken, clientDetails);
  
          passwordWriteToken = testClient.getClientCredentialsOAuthAccessToken(clientId, clientSecret,"password.write");
      }
  
      @Test
  