问题 I am trying to fake an FtpWebRequest.GetResponse() for an integration test, but without using a server. What I have been trying to do is the simple return a fake FtpWebResponse but, you are not allowed to access the constructor for the FtpWebResponse because it is internal. Here is my code: Production code: using (FtpWebResponse response = (FtpWebResponse) ftpWebRequest.GetResponse()) { ftpResponse = new FtpResponse(response.StatusDescription, false); } Test fake I am trying to use to return