public void testDajGoste() { 
		   Osoba o=new Osoba(); o.setImePrezime("Alen Kopic"); 
			 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
				
				try {
					o.setDatumRodjenja(sdf.parse("1992-10-21"));
				} catch (java.text.ParseException p) {
					System.out.println(p.toString());
				}
				o.setAdresa("Vitkovac 166");
				Gost g = new Gost();
				g.setMjestoRodjenja("Beograd");
				g.setOsoba(o);

				DBManager.saveOsobu(o);
				DBManager.saveGosta(g);
			
	  
	   List<Gost> gosti=DBManager.dajGoste();
	   Boolean tacno=false;
	 		for (Gost i : gosti) {
	 			if(	i.getIme().equals(g.getIme())&&	i.getPrezime().equals(g.getPrezime()))
	 				tacno=true;
	 		}
	 		
	 		Session session = HibernateUtil.getSessionFactory().openSession();
	 		Transaction t1 = session.beginTransaction();
			session.delete(o);
	
			session.delete(g);
			t1.commit();
			
	 	   Assert.assertTrue(tacno); 
	 	   
	 	   
	   }