public void testSpasiZaposlenika() { 
			  Osoba o=new Osoba();
			  Zaposlenik z=new Zaposlenik();
		      o.setImePrezime("Dzenana Mahmutspahic");
		      SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		      
		      try {
		    	  o.setDatumRodjenja(sdf.parse("1992-10-20"));
		    	  }
		      catch (java.text.ParseException p)
		      {
				System.out.println(p.toString());
				}
		      
		      o.setAdresa("Vitkovac 166");
		      z.setOsoba(o);
		      //DBManager.saveOsobu(o);
		      z.setDrzavljanstvo("BIH");
		      z.setJMB("0706992179147");
		      z.setMobitel("061827141");
		      z.setEmail("dzenana.ma@gmail.com");
		      z.setIsAdministrator(false);
		      z.setUsername("dzenana");
		      z.setPassword("dzenana");
		      z.setTitula("recepcioner");
		      z.setObrazovanje("skola");
		      z.setTelefon("032741723");
		      z.setUloga("recepcioner");
		      
		      Session session = HibernateUtil.getSessionFactory().openSession();
		      Transaction t = session.beginTransaction();
		      session.save(o);
		      session.save(z);
		      t.commit();
		      
		     // DBManager.spasiZaposlenika(z);
		      
		      Zaposlenik zap = DBManager.dajZaposlenika(o);
		      System.out.println(zap.getUsername());
		      boolean isti = true;
		      if(!zap.getDrzavljanstvo().equals(z.getDrzavljanstvo())  || !zap.getJMB().equals(z.getJMB())){
		    	  isti = false;
		      }
		      if(isti==true) System.out.print("\nISTI\n"); else System.out.print("\nRAZLICITI\n");
		      assertTrue(isti);
		      
			  
			  Transaction t1 = session.beginTransaction();
			  session.delete(o);
			  session.delete(z);
			  t1.commit();
		     
		   }