It turns out there is another option as well: leave the method as declared (that is, private) and use the nifty JUnit-addons project to test it.
还有另一个选择:保留方法现有的声明不变(即private),并采用优秀的JUnit插件项目来测试它。
The former option points to a private key to use with the host; the latter option provides the login id. Thus, this block is the equivalent of the command.
前者指向此主机使用的一个私匙,后者提供登录ID。
The former option points to a private key to use with the host; the latter option provides the login id. Thus, this block is the equivalent of the command.
前者指向此主机使用的一个私匙,后者提供登录ID。
应用推荐