public void testupdateRegularConfig() throws Exception {
Dictionary<String, Object> props = new Hashtable<String, Object>();
UpdateCommand command = new UpdateCommand();
ConfigRepository configRepo = EasyMock.createMock(ConfigRepository.class);
configRepo.update(EasyMock.eq(PID), EasyMock.eq(props));
EasyMock.expectLastCall();
command.setConfigRepository(configRepo);
MockCommandSession session = createMockSessionForFactoryEdit(PID, false, props);
command.setSession(session);