serverWC = server.createWorkingCopy();
cloudFoundryServer = (CloudFoundryServer) serverWC.loadAdapter(CloudFoundryServer.class, null);
assertEquals("pwd", cloudFoundryServer.getPassword());
ServerCredentialsStore store = cloudFoundryServer.getCredentialsStore();
assertEquals(null, store.getPassword());
serverWC.save(true, null);
assertEquals("Unexpected migration of password to secure store although it was not changed", null,
store.getPassword());
}