public void TestThrowOnStatusCodeFromTooShortLine()
 {
     Assert.Throws <BadResponseException>(
         delegate() { CddbProtocol.GetStatusCode("12"); }
         );
 }
 public void TestThrowOnInvalidCharactersInStatusCode()
 {
     Assert.Throws <BadResponseException>(
         delegate() { CddbProtocol.GetStatusCode("12b This is not valid"); }
         );
 }
 public void TestStatusCodeRetrieval()
 {
     Assert.AreEqual(
         123, CddbProtocol.GetStatusCode("123 One two three")
         );
 }