Exemplo n.º 1
0
        public void TestSearchBy_InvalidData_Failure()
        {
            var mockPostRepo        = new MockPostRepo();
            var mockPostValidator   = new MockPostValidator();
            var mockAuthorRepo      = new MockAuthorRepo();
            var mockAuthorValidator = new MockAuthorValidator();
            var postDataAccess      = new PostDataAccess(mockPostRepo, mockPostValidator, mockAuthorRepo, mockAuthorValidator);

            //TODO
        }
 public AuthorValidatorTests()
 {
     _mockAuthorRepo  = new MockAuthorRepo();
     _authorValidator = new AuthorValidator(_mockAuthorRepo);
 }