@Test
public void getTestTest() {
com.chen.model.Test t = new com.chen.model.Test();
t.setId(1111);
t.setMsg("adfadf");
TestDAO testDAO = EasyMock.createMock("testDAO", TestDAO.class);
EasyMock.expect(testDAO.getTest()).andReturn(t);
EasyMock.replay(testDAO);
ReflectionTestUtils.setField(service, "testDAO", testDAO, TestDAO.class);
t = service.getTest();