I have a class which can only be initialised using builder pattern i.e. it doesn't have any other constructor. Now I am Unit-Testing this class.
My question is that since builder class is totally a different class (My Builder class is outside the class it is building), Is it a good practice to trust the object which builder is returning? Because maybe there is something I have missed in builder since I have not tested the builder class.
Or should I first test the builder class, be thorough with it and then test the other class. Or should I create a constructor in my class with parameters just for testing.
I am not sure what is the correct approach to do this.