public void Error4ResponseGetErrorMsgTest() { Assert.AreEqual(XMLResponseGenerator.Error4ErrMessage, BiRResponseXMLParser.GetErrorMsg(XMLResponseGenerator.Error4Response)); }
public void EmptyGetErrorMsgTest() { Assert.Throws <ArgumentNullException>(() => BiRResponseXMLParser.GetErrorMsg(string.Empty)); }
public void CorrectCompanyResponseGetErrorMsgTest() { Assert.Throws <ArgumentOutOfRangeException>(() => BiRResponseXMLParser.GetErrorMsg(XMLResponseGenerator.CorrectPrawnaCompany1DaneRaportResponse)); }
public void NullGetErrorMsg() { Assert.Throws <ArgumentNullException>(() => BiRResponseXMLParser.GetErrorMsg(null)); }