XAccessAuditService extends XAccessAuditServiceBase<XXAccessAudit, VXAccessAudit> { public VXAccessAudit populateViewBean(XXAccessAudit gjXAccessAudit) { VXAccessAudit vXAccessAudit = new VXAccessAudit(); return mapEntityToViewBean(vXAccessAudit, gjXAccessAudit); } XAccessAuditService(); VXAccessAuditList searchXAccessAudits(SearchCriteria searchCriteria); VXAccessAudit populateViewBean(XXAccessAudit gjXAccessAudit); static final String NAME; }
@Test public void test2PopulateViewBean() { Mockito.when(daoManager.getXXService()).thenReturn(xXServiceDao); xAccessAuditService.populateViewBean(xXAccessAudit); }