assertNull(command.getPassword());
}
public void testUsernamePasswordSet() throws Exception {
AmqBrowseCommand command = new AmqBrowseCommand();
CommandContext context = new CommandContext();
String username = "user";
String password = "password";
context.setFormatter(new CommandShellOutputFormatter(System.out));
command.setCommandContext(context);
List<String> tokens = new ArrayList<String>();
tokens.addAll(DEFAULT_OPTIONS);