### Question:
UserRoleServiceImpl implements UserRoleService { @Override public void createRole(UserRoleDto dto) { userRoleDao.insert(dto); }  @Override List<UserRoleDto> getUserRoles(); @Override void createRole(UserRoleDto dto); @Override void updateRole(UserRoleDto dto); @Override void removeRole(String roleId);  }### Answer:
@Test public void createRole() { userRoleService.createRole(getUserRole()); verify(dao).insert(refEq(getUserRole())); verifyNoMoreInteractions(dao); }