Search in sources :

Example 1 with IracTombstoneRemoteSiteCheckCommand

use of org.infinispan.commands.irac.IracTombstoneRemoteSiteCheckCommand in project infinispan by infinispan.

the class IracTombstoneUnitTest method createCommandFactory.

private static CommandsFactory createCommandFactory() {
    CommandsFactory factory = Mockito.mock(CommandsFactory.class);
    IracTombstoneRemoteSiteCheckCommand cmd = Mockito.mock(IracTombstoneRemoteSiteCheckCommand.class);
    Mockito.when(factory.buildIracTombstoneRemoteSiteCheckCommand(ArgumentMatchers.any())).thenReturn(cmd);
    return factory;
}
Also used : IracTombstoneRemoteSiteCheckCommand(org.infinispan.commands.irac.IracTombstoneRemoteSiteCheckCommand) CommandsFactory(org.infinispan.commands.CommandsFactory)

Aggregations

CommandsFactory (org.infinispan.commands.CommandsFactory)1 IracTombstoneRemoteSiteCheckCommand (org.infinispan.commands.irac.IracTombstoneRemoteSiteCheckCommand)1