    @Test
    public void testPublisherWithNApisShouldCallNtimesMethodProcessApi() throws MojoExecutionException, AppException {


        final Publication publication = createPublication().setApis(
                Arrays.asList(new Api().setApiSpecification("api1").setApiConfig("config1"),
                        new Api().setApiSpecification("spec2").setApiConfig("config2"),
                        new Api().setApiSpecification("spec3").setApiConfig("config3")));
        when(publicationReader.read(any(String.class), any())).thenReturn(publication);
        sut.execute();
        verify(axwayPublishingAdapter, times(publication.getApis().size())).processApi(any(), anyString());
    }