Load extends ConsoleCommand { public Load(ConsoleIO consoleIO, ConsoleState state, Map<String, ConsoleSetting> settings) { super(consoleIO, state, settings); } Load(ConsoleIO consoleIO, ConsoleState state, Map<String, ConsoleSetting> settings); @Override String getName(); @Override String getHelpShort(); @Override String getHelpLong(); @Override String[] usesSettings(); @Override void execute(final String... tokens);  }
@Test public final void testLoad() throws RepositoryException, IOException { File f = LOCATION.newFile("alien.ttl"); copyFromResource("load/alien.ttl", f); cmd.execute("load", f.getAbsolutePath()); verify(mockConsoleIO, never()).writeError(anyString()); }