@Test public void shouldUpdateApprovedVersionWhenExecutingACommand() { final ListPropertyMetaData listMetaData = new ListPropertyMetaData(null, null); when(listVersions.getMetaDataOrFail(EXEMPLARY_ADD_COMMAND.getListId())).thenReturn(listMetaData); cut.execute(EXEMPLARY_ADD_COMMAND); assertThat(listMetaData.getApprovedVersion()).isEqualTo(EXEMPLARY_CHANGE.getToVersion()); }
@Override public void execute(final AddToList command) { execute((ListCommand) command); }
ReparingListPropertyCommandExecutor implements ListPropertyCommandExecutor { @Override public void execute(final AddToList command) { execute((ListCommand) command); } }
ReparingListPropertyCommandExecutor implements ListPropertyCommandExecutor { @Override public void execute(final AddToList command) { execute((ListCommand) command); } ReparingListPropertyCommandExecutor(final ListPropertyMetaDataStore listMetaDataStore,
            final ListCommandIndexRepairer indexRepairer, final ListCommandVersionRepairer versionRepairer,
            final SimpleListPropertyCommandExecutor simpleExecutor, final TopologyLayerCallback topologyLayerCallback); }
ReparingListPropertyCommandExecutor implements ListPropertyCommandExecutor { @Override public void execute(final AddToList command) { execute((ListCommand) command); } ReparingListPropertyCommandExecutor(final ListPropertyMetaDataStore listMetaDataStore,
            final ListCommandIndexRepairer indexRepairer, final ListCommandVersionRepairer versionRepairer,
            final SimpleListPropertyCommandExecutor simpleExecutor, final TopologyLayerCallback topologyLayerCallback); @Override void execute(final AddToList command); @Override void execute(final RemoveFromList command); @Override void execute(final ReplaceInList command); void logLocalCommand(final ListCommand localCommand); }
ReparingListPropertyCommandExecutor implements ListPropertyCommandExecutor { @Override public void execute(final AddToList command) { execute((ListCommand) command); } ReparingListPropertyCommandExecutor(final ListPropertyMetaDataStore listMetaDataStore,
            final ListCommandIndexRepairer indexRepairer, final ListCommandVersionRepairer versionRepairer,
            final SimpleListPropertyCommandExecutor simpleExecutor, final TopologyLayerCallback topologyLayerCallback); @Override void execute(final AddToList command); @Override void execute(final RemoveFromList command); @Override void execute(final ReplaceInList command); void logLocalCommand(final ListCommand localCommand);  }