“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Tim Driven Development | Test until the fear goes away
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
CorrectDave Tolls wrote:Your mocking for save(ex1) uses an Exercise object that looks like it has an id of "1"?
Dave Tolls wrote:The actual call to save appears to be using an Exercise object with a random UUID (called exerciseID).
I can't see how it can match, unless equals ignores the id.
This assumes that Exercise has some form of equals method in the first place.
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Dave Tolls wrote:any(Exercise.class) should work, but not seeing the code that apparently didn't work I can't say what happened there.
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Consider Paul's rocket mass heater. |