Object literal mocking