@Test
public void testSendCommandWithInvalidCommandSyntaxResponse() throws Exception
{
SimpleAgiReply reply;
NoopCommand command;
reply = new SimpleAgiReply();
reply.setStatus(AgiReply.SC_INVALID_COMMAND_SYNTAX);
reply.setSynopsis("NOOP Synopsis");
reply.setUsage("NOOP Usage");
reply.setResult("0");
command = new NoopCommand();
agiWriter.sendCommand(command);
expect(agiReader.readReply()).andReturn(reply);
replay(agiWriter);