File tree Expand file tree Collapse file tree
src/test/java/com/seelyn/apiwrap/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 <artifactId >api-wrap-client</artifactId >
2424 <version >1.0.1</version >
2525 </dependency >
26- <dependency >
27- <groupId >commons-beanutils</groupId >
28- <artifactId >commons-beanutils</artifactId >
29- <version >1.9.4</version >
30- </dependency >
3126 <dependency >
3227 <groupId >org.springframework.boot</groupId >
3328 <artifactId >spring-boot-starter-web</artifactId >
Original file line number Diff line number Diff line change 11package com .seelyn .apiwrap .utils ;
22
33import com .parsechina .apiwarp .web .DefaultWrapData ;
4- import org .apache .commons .beanutils .BeanUtils ;
54
65public class WrapUtilsTest {
76
87 @ org .junit .Test
98 public void beanToMap () {
109 DefaultWrapData wrapData = new DefaultWrapData ();
1110 wrapData .setUrl ("http://www.baidu.com" );
12- WrapUtils .toMap (wrapData );
13-
11+ WrapUtils .beanToMap (wrapData );
1412 }
1513}
You can’t perform that action at this time.
0 commit comments