public async Task Should_Delete_WikiPage() { try { await redmineManager.DeleteWikiPageAsync(projectId, wikiPageName); WikiPage page = await redmineManager.GetWikiPageAsync(projectId, null, wikiPageName); } catch (RedmineException exc) { StringAssert.Contains(exc.Message, "Not Found"); return; } Assert.Fail("Test failed"); }