@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"); }