对于要做Unit test的类,建立两个constructor。
一个正常用,一个test用。
方便将需要mock的值通过第二个constructor导入。
这样就避免了建立setter来hack的麻烦。