apel-apel opened a new issue #1501: local mock not work according by the user 
manual
URL: https://github.com/apache/incubator-dubbo/issues/1501
 
 
   the user manual describe the usage about mock like this:
   ```xml
   <dubbo:service interface="com.foo.BarService" mock="true" />
   ```
   or
   ```xml
   <dubbo:service interface="com.foo.BarService" mock="com.foo.BarServiceMock" 
/>
   ```
   
   but, this config is not work, the correct way is insteading `<dubbo:service` 
with `<dubbo:reference`,
   just like this:
   ```xml
   <dubbo:reference interface="com.foo.BarService" mock="true" />
   ```
   or
   ```xml
   <dubbo:reference interface="com.foo.BarService" 
mock="com.foo.BarServiceMock" />
   ```
   I think should edit the user manual like above;
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to