From 2d2c093e165a039f1655ef1fcce868d6e7b31765 Mon Sep 17 00:00:00 2001 From: Build Pipeline Date: Sun, 27 Jun 2021 22:17:05 +0200 Subject: [PATCH] PR #45 - update unit test --- .../plugin/processor/AnnotationProcessorMojoTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/processor/src/test/java/org/bsc/maven/plugin/processor/AnnotationProcessorMojoTest.java b/processor/src/test/java/org/bsc/maven/plugin/processor/AnnotationProcessorMojoTest.java index babc15b..0815c70 100644 --- a/processor/src/test/java/org/bsc/maven/plugin/processor/AnnotationProcessorMojoTest.java +++ b/processor/src/test/java/org/bsc/maven/plugin/processor/AnnotationProcessorMojoTest.java @@ -46,5 +46,13 @@ public void testPR45() throws Exception { assertNotNull( myMojo.annotationProcessorPaths ); assertEquals( 1, myMojo.annotationProcessorPaths.size() ); + final DependencyCoordinate coord = myMojo.annotationProcessorPaths.get(0); + + assertNotNull( coord ); + assertEquals( "org.mapstruct", coord.getGroupId() ); + assertEquals( "mapstruct-processor", coord.getArtifactId() ); + assertEquals( "1.0", coord.getVersion() ); + + } }