RuntimeProjectMock createProject(final String baseUrl) {
final RuntimeProjectMock projectMock =
new RuntimeProjectMock("projectMock", expectations);
MarinerURL baseURL = new MarinerURL(baseUrl);
baseURL.makeReadOnly();
projectMock.expects.getAssetsBaseURL().returns(baseURL).any();
projectMock.expects.getContainsOrphans().returns(false).any();
projectMock.expects.getPolicySource().returns(null).any();
projectMock.expects.isPortable().returns(false).any();