assertTrue(factory.getCommand("stor") instanceof STOR);
}
public void testAppendWithoutDefault() {
CommandFactoryFactory factoryFactory = new CommandFactoryFactory();
factoryFactory.addCommand("foo", new NOOP());
factoryFactory.setUseDefaultCommands(false);
CommandFactory factory = factoryFactory.createCommandFactory();
assertTrue(factory.getCommand("FOO") instanceof NOOP);