super.setUp();
// Tobago specific extensions
final TobagoConfigImpl tobagoConfig = new TobagoConfigImpl();
final Theme theme = new MockTheme("default", "Default Mock Theme", Collections.<Theme>emptyList());
final Theme one = new MockTheme("one", "Mock Theme One", Arrays.asList(theme));
final Map<String, Theme> availableThemes = new HashMap<String, Theme>();
availableThemes.put(theme.getName(), theme);
availableThemes.put(one.getName(), one);
tobagoConfig.setAvailableThemes(availableThemes);
tobagoConfig.resolveThemes();
tobagoConfig.initProjectState(servletContext);
tobagoConfig.initDefaultValidatorInfo();
servletContext.setAttribute(TobagoConfig.TOBAGO_CONFIG, tobagoConfig);
final ClientProperties clientProperties = new ClientProperties();
clientProperties.setTheme(one);
clientProperties.setLocale(Locale.ENGLISH);