Support null_object test doubles with new syntax.