public class GenericContentResult<T,R extends GenericContentResult<T,R>> extends BaseResult
| 限定符和类型 | 字段和说明 |
|---|---|
protected T |
content |
mockResponse| 构造器和说明 |
|---|
GenericContentResult(MockResponse mockResponse,
T content)
构造函数
|
protected final T content
public GenericContentResult(MockResponse mockResponse, T content)
mockResponse - 模拟响应content - 响应内容public GenericContentResult<T,R> is(Consumer<T> expectedValidateFun)
expectedValidateFun - 预期值的验证函数Copyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.