Hacker News new | ask | show | jobs
by xmcqdpt2 1564 days ago
Same, it seems to me that the article is based on the idea that

    val app = new AppClass(new MockServer)
    assert(...)
is bad but

    val app = new AppClass(Server.createMock())
    assert(...)
is good. I for one see no difference.