### Question:
ArtifactStatus implements Serializable { public boolean isCoreArtifact() { return UpdateUtil.CORE_ARTIFACT_ID.equals(this.type); } ArtifactStatus();  ArtifactStatus(ArtifactXmlBean artifactXmlBean); String getName(); void setName(String name); String getType(); void setType(String type); boolean isCoreArtifact(); boolean isPluginArtifact(); boolean isTranslationArtifact(); boolean isInstalled(); void setInstalled(boolean installed); ArtifactAction getArtifactAction(); void setArtifactAction(ArtifactAction artifactAction); String getDisplayType(); void setDisplayType(String displayType); @Override int hashCode(); @Override boolean equals(Object obj); String toString(); void setSize(long size); long getSize(); void setChecksum(long checksum); long getChecksum();  }### Answer:
@Test public void testIsCoreArtifact() { mockHelper.replayAll(); classUnderTest = new ArtifactStatus(mockCoreArtifactXmlBean); mockHelper.verifyAll(); assertTrue(classUnderTest.isCoreArtifact()); assertFalse(classUnderTest.isPluginArtifact()); assertFalse(classUnderTest.isTranslationArtifact()); }