@Test
public void testUseXbeanConfigFile () throws Exception {

    Mockito.when(this.mockXbeanFileResolver.isXBeanFile("x-config-uri-x")).thenReturn(true);
    Mockito.when(this.mockXbeanFileResolver.toUrlCompliantAbsolutePath("x-config-uri-x"))
            .thenReturn("x-transformed-uri-x");
    this.startBrokerMojo.execute();
    Mockito.verify(this.mockMavenLog).debug("configUri before transformation: x-config-uri-x");
    Mockito.verify(this.mockMavenLog).debug("configUri after transformation: x-transformed-uri-x");
}