setReturnType

public void setReturnType(Class<? extends Object> returnType)(source)

Sets the expected class type of the test method to the specified value.

Parameters

returnType

the new return type