call save method to validate mock unit test.