|
|
1
11
是的,静态类通常是 frowned upon in the field of unit testing and mocking . AFAIK没有开源模拟框架(例如 Rhino Mocks )支持静态类模拟 若你们们绝对地、肯定地必须模仿静态类,那个么我恐怕你们们必须去模仿静态类 Typemock ,这不是免费的。 |
|
|
2
2
|