source: class EventStoreCertificateMojoTest {
  
      @Test
      public void testExecute() throws MojoExecutionException, IOException {
  
target: 
          // PREPARE
          final EventStoreCertificateMojo testee = new EventStoreCertificateMojo();
          final File p12File = File.createTempFile("EventStoreCertificateMojoTest-", ".p12");
          testee.setCertificateFile(p12File.toString());
  
          // TEST
          testee.execute();
  
          // VERIFY
          assertThat(p12File).exists();
          assertThat(p12File.length()).isGreaterThan(0);
  
      }
  
  }