Good use case.

1) Can you turn it into unit test
2) Also do a unit test when object has property function rather than method and the function changes over time.

Both cases should work.