public void setUp() throws Exception
{
super.setUp();
// prepare SessionProviderService
ThreadLocalSessionProviderService sesProv =
(ThreadLocalSessionProviderService)container
.getComponentInstanceOfType(ThreadLocalSessionProviderService.class);
sesProv.setSessionProvider(null, new SessionProvider(new ConversationState(new Identity(session.getUserID()))));
nodeRepresentationService =
(NodeRepresentationService)container.getComponentInstanceOfType(NodeRepresentationService.class);
assertNotNull(nodeRepresentationService);
ntFileNodeRepresentationFactory =