Hi is there a way to capture/mock this code so i can test if i pass correct params to correct fields
Copy code
Movie.new {
this.name = "Name:$displayName"
}
a
Andrew O'Hara
10/20/2022, 11:48 PM
I recommend you run your tests against an in-memory DB, such as the pure-java H2 DB. It implements the ANSI SQL specification, but also has compatibility modes for non-standard implementations like Mysql, and Postgres.
I frequently use this test util to easily get a