Change mocking syntax