@Test
public void testSimpleCommand() throws Exception
{

    List<String> command = CommandTokeniser.tokeniseCommandLine("/usr/lib/nagios/plugins/check_dummy 0 \"Testing 123\"");
    assertThat(command.size(), is(equalTo(3)));
    assertThat(command.get(0), is(equalTo("/usr/lib/nagios/plugins/check_dummy")));
    assertThat(command.get(1), is(equalTo("0")));
    assertThat(command.get(2), is(equalTo("Testing 123")));
}