Dependency Injection with the Cake Pattern
Peter-John Welcome

Hi PJ , great article, I really learnt a lot.

I was just wondering, in terms of testability, how would you inject mock data into your view model (ProductViewModel). I’m asking this because I might want to write the tests for view model.Thanks.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.