mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add test case for DruidStatService
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package com.alibaba.druid.stat.spring;
|
||||
|
||||
public interface UserService {
|
||||
|
||||
public void save();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.alibaba.druid.stat.spring;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component("userService")
|
||||
public class UserServiceImpl implements UserService {
|
||||
|
||||
@Override
|
||||
public void save() {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user