### Question:
Customer { public Long getId() { return id; } Customer();  Customer(String firstName, String lastName, String email, String phoneNumber); Long getId(); void setId(Long id); String getFirstName(); void setFirstName(String firstName); String getLastName(); void setLastName(String lastName); String getEmail(); void setEmail(String email); void setPhoneNumber(String phoneNumber); @Access(AccessType.PROPERTY) @Column(name = "phone_number", length = 555) String getPhoneNumber();  }### Answer:
@Test public void shouldCreateACustomer() throws Exception { Customer customer = new Customer("John", "Smith", "jsmith@gmail.com", "1234565"); tx.begin(); em.persist(customer); tx.commit(); Assertions.assertNotNull(customer.getId(), "Id should not be null"); }