Hi, I read in tornadofx guide that Views, Controllers and Models are Singeltones, If I would like to mock a controller or a model for testing, how I can do that?
alilosoft
04/22/2019, 7:46 PM
Thanks, I will try both, and see witch one will work well for me!🤔
alilosoft
04/22/2019, 10:17 PM
If I go for the controller interface way, how I can inject the mocked controller to the view?