public void testOnlyConfigurations() throws InterruptedException, IOException {
when(publisher.getMatrixNotifier()).thenReturn(MatrixJobMultiplier.ONLY_CONFIGURATIONS);
MatrixAggregator aggregator = publisher.createAggregator(parentBuild, null, listener);
aggregator.startBuild();
aggregator.endBuild();
verify(publisher, times(0)).notifyChatsOnBuildStart(parentBuild, listener);
verify(publisher, times(0)).notifyOnBuildEnd(parentBuild, listener);
publisher.prebuild(configurationBuild, listener);
publisher.perform(configurationBuild, null, listener);