expect(stackSource.getStack("mystack")).andReturn(mystack).atLeastOnce();
expect(mystack.getStacks()).andReturn(Collections.<String> emptyList());
expect(mystack.getJavaScriptLibraries()).andReturn(Arrays.asList(library1, library2));
expect(pathConstructor.constructPathsForJavaScriptStack("mystack")).andReturn(
Arrays.asList("stacks/mystack.js"));
expect(mystack.getStylesheets()).andReturn(Collections.<StylesheetLink> emptyList());
expect(mystack.getInitialization()).andReturn(null);