public void GetGuidanceItemById_Handle_Bad_Gui_System_Format_Exception() { var badGuid = "AAAAA"; var errorMessage = getRequestError( () => tmWebServices.GetGuidanceItemById("badGuid")); Assert.IsFalse(errorMessage.contains("Guid should contain 32 digits with 4 dashes"), "Error message contained: 'Guid should contain 32 digits with 4 dashes'"); }
public void GetGuidanceItemById_InformationDisclosure_EmptyRequest() { testForErrorsInException( () => tmWebServices.GetGuidanceItemById("")); }