[BAEL-4823] Maven plugin management (#10957)
* [BAEL-4823] Maven plugin management * [BAEL-4823] Minor code cleanup
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
package com.baeldung;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.URL;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
class CopiesAdditionalResourcesUnitTest {
|
||||
|
||||
@Test
|
||||
void givenAdditionalResource_whenCopyingFromSourceToDestination_thenShouldBeInDestination() {
|
||||
URL resource = getClass().getClassLoader().getResource("json/include.json");
|
||||
File destinationFile = new File(resource.getFile());
|
||||
|
||||
assertTrue(destinationFile.exists());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user