expect(mockTranslationArtifactXmlBean.getChecksum()).andStubReturn(translationChecksum);
expect(mockTranslationArtifactXmlBean.getType()).andStubReturn(translationType);
// For the serialization test in superclass - cannot use mockHelper because the replay needs to be
// done here.
ArtifactXmlBean mockArtifactXmlBean = EasyMock.createMock(ArtifactXmlBean.class);
expect(mockArtifactXmlBean.getName()).andStubReturn(coreArtifactName);
expect(mockArtifactXmlBean.isInstalled()).andStubReturn(coreIsInstalled);
expect(mockArtifactXmlBean.getSize()).andStubReturn(coreSize);
expect(mockArtifactXmlBean.getChecksum()).andStubReturn(coreChecksum);
expect(mockArtifactXmlBean.getType()).andStubReturn(coreType);
replay(mockArtifactXmlBean);
super.serializableToTest = new ArtifactStatus(mockArtifactXmlBean);
verify(mockArtifactXmlBean);
}