public void CreatingANewAuthor() { var authorCount = _authorController.RetrieveAllAuthors().Count; _authorController.CreateAAuthor("firstName", "lastName"); var newCount = _authorController.RetrieveAllAuthors().Count; _testMethods.DeleteAuthor(); Assert.AreEqual(authorCount + 1, newCount); }
public void CreateNewAuthor(string lastName, string firstName) { _authorFunctions.CreateAAuthor(lastName, firstName); }