Unit testing with mockito for constructors

后端 未结 7 1630
感动是毒
感动是毒 2020-11-28 07:36

I have one class.

Class First {

    private Second second;

    public First(int num, String str) {
        second = new Second(str);
        this.num = num         


        
7条回答
提交回复
热议问题