@Before
  public void setUp() throws Exception {
    mockGenericDao = mock(IGenericPOMObjectDAO.class);
    mockJdsTemplate = mock(JdsOperations.class);

    dao = new JdsVprUpdateDao(mockGenericDao);
    dao.setJdsTemplate(mockJdsTemplate);
    dao.afterPropertiesSet();
  }
 @Test(expected = IllegalArgumentException.class)
 public void testFindOneBySystemIdWithNullArg() throws Exception {
   dao.findOneBySystemId(null);
 }
  @Test
  public void testFindOneBySystemId() throws Exception {
    VprUpdate lastUpdate = dao.findOneBySystemId("A1B2");

    verify(mockGenericDao).findByUID(VprUpdate.class, "urn:va:vprupdate:A1B2");
  }