@Test
public void nullArtifactInfoTest() {

    try {
        new PomModel().setArtifact(null);
        assertTrue(false);
    } catch (TransformationDefinitionException e) {
        assertEquals(e.getMessage(), "artifactInfo cannot be blank");
    }
}