Couldn't you have used any(ClusteredGetCommand.class)?