assertNull(mojo.getArtifactIdForJar(null));
assertNull(mojo.fillProperties(null));
}
public void testWarningForNotMappedArtifact() throws Exception {
WebObjectsLocator mockLocator = EasyMock.createMock(WebObjectsLocator.class);
File versionFile = FileUtils.toFile(getClass().getResource("/version.plist"));
EasyMock.expect(mockLocator.getWebObjectsVersionFile()).andReturn(versionFile);
File file = FileUtils.toFile(getClass().getResource("/mock-jar1.jar")).getParentFile();
EasyMock.expect(mockLocator.getWebObjectsLibFolder()).andReturn(file);
EasyMock.replay(mockLocator);
mojo.locator = mockLocator;
mojo.nullFillProperties = true;