It might be nicer to pass a matcher in as expected_retval. This means you could expect a variety of different values rather than a single one. It also means the default value could be a match-anything matcher rather than a sentinel.