I\'m trying to stub the saveRecord(Record newRecord) method in databaseService to throw an exception if the newRecord has a value in the field1 attribute of "OldValue&q