Using mock.