protected override void Then() { Assert.IsTrue(_saveResonse.Result > 0); Assert.IsTrue(!_saveResonse.HasErrors()); Assert.IsTrue((_saveResonse.Events[0] as EventRequestDto <CreateEntityAuditEventMessage>) .MetaData .Entity .Equals("Lead")); }
protected override void Then() { Assert.IsTrue(_getResponse.HasErrors()); Assert.IsTrue(_getResponse.Messages.Any(a => a.Message.Contains("Input validation: Duplicate PortfolioTransactionsSummary"))); }
protected override void Then() { Assert.IsTrue(_getResponse.HasErrors()); Assert.IsTrue(_getResponse.Messages.Any(a => a.Message.Contains("Portfolio not found"))); }
protected override void Then() { Assert.IsTrue(_saveResponse.Result.ImportXlsId > 0); Assert.IsTrue(!_saveResponse.HasErrors()); }
protected override void Then() { Assert.IsFalse(_getResponse.HasErrors()); }