public void FakeWebResponseObject(string resource) { webResponseMock.ExpectAndReturn("GetResponseStream", GetResourceStream(resource)); webResponseMock.ExpectCall("Close"); }