private ChannelXmlBean setupSnapshotChannelXmlBean(String name)
{
ChannelXmlBean mockChannelXmlBean =
mockHelper.createMock("mock" + name + "ChannelXmlBean", ChannelXmlBean.class);
ReleaseXmlBean mockReleaseXmlBean =
mockHelper.createMock("mock" + name + "ReleaseXmlBean", ReleaseXmlBean.class);
expect(mockChannelXmlBean.getName()).andStubReturn("Snapshot");
expect(mockChannelXmlBean.getCurrentRelease()).andStubReturn(mockReleaseXmlBean);
return mockChannelXmlBean;
}