changed from nsubstitute to rhino mocks