This would be a good basis for a unit test.