You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming you have a webpage or a webservice that has an endpoint user/add the result of AddNewUser() should either be displayed on the page or send back to the caller. Adding this in the follow up article would be great as well.
Thanks
Best regards
The text was updated successfully, but these errors were encountered:
Thanks for the great article Mock your mocks.
In the article the function
saveUser()
is refactored; the validation of
EmailAddress
&Password
were extracted into the functionvalidateUser()
.A follow up article on
saveUser()
could look likevalidateUser()
andsaveUser()
are being calledwould be great. I assume the code that calls both functions would like this
Assuming you have a webpage or a webservice that has an endpoint user/add the result of
AddNewUser()
should either be displayed on the page or send back to the caller. Adding this in the follow up article would be great as well.Thanks
Best regards
The text was updated successfully, but these errors were encountered: