### Question:
Track { public Long getId() { return id; } Track();  Track(String title, Float duration, String description); Long getId(); String getTitle(); void setTitle(String title); Float getDuration(); void setDuration(Float duration); byte[] getWav(); void setWav(byte[] wav); String getDescription(); void setDescription(String description);  }### Answer:
@Test public void shouldCreateATrack() throws Exception { Track track = new Track("Sgt Pepper Lonely Heart Club Ban", 4.53f, "Listen to the trumpet carefully, it's George Harrison playing"); tx.begin(); em.persist(track); tx.commit(); assertNotNull(track.getId(), "Id should not be null"); }