The practice to test applications that use time is to pass a Clock into any method that requires the current instant and a dependency injection framework is one way to achieve this.
Thanks to Mailgun for sponsoring this video! Head to
https://mailgun.com/amigoscode to try Mailgun today.
Register your interested for bootcamp here: https://amigoscode.hopp.to/bootcampr...
#amigoscode #java #unittesting
Don't Forget to
===========================================
Subscribe to Amigoscode http://bit.ly/2HpF5V8'>http://bit.ly/2HpF5V8
Courses Available for free here https://amigoscode.com/courses
Join Private Facebook Group and Discord https://amigoscode.com/p/joincommunity'>https://amigoscode.com/p/joincommunity
⭐ Table Of Contents ⭐
===========================================
00:00 Intro
04:15 Testing Date and Time
13:21 Outro
Here are the goods for all my videos video
► Recommended Books
===========================================
Clean Code https://amzn.to/2UGDPlX
HTTP: The Definitive Guide https://amzn.to/2JDVi8s
Clean Architecture https://amzn.to/2xOBNXW
► Computer and Monitor
===========================================
New Apple MacBook Pro https://amzn.to/3464Mmn
Dell 27 INCH Ultrasharp U2719D Monitor https://amzn.to/2xM3nW1
Double Arm Stand Desk Mount https://amzn.to/3aYKKfs
USB C Hub Multiport Adapter https://amzn.to/2Jz7NlL
► Camera Gear
=============================================
Sony ILCE7M3B Full Frame Mirrorless Camera https://amzn.to/346QIJn
Sigma 16 mm F1.4 DC DN https://amzn.to/2wbic3Q
Sigma 33B965 30 mm F1.4 DC DC https://amzn.to/39G37Fd
► IDE & Tools I use for coding
===========================================
ITerm
VsCode
GoLand
IntelliJ Ultimate
Sublime
P.S
===========================================
Don't forget to subscribe | http://bit.ly/2HpF5V8'>http://bit.ly/2HpF5V8
Join Private Facebook Group and Discord https://amigoscode.com/p/joincommunity'>https://amigoscode.com/p/joincommunity
Follow me on Instagram | http://bit.ly/2TSkA9w
❤ Thanks for watching